am interested in a program which calculates the (x y) values of a hilbert space-filling curve for a given area. resolution (length) could be a paremeter.
Sean is right, the problem is that n keeps getting bashed back to 5, so the recursion never ends.
He is also right to hint that it might be due the way you call it. In order to use it, you shouldnot have that n=5 line, and you shouldnot just press F5 when you are on the file: instead, at the command line, you should command
Best Answer