Feel free to change it, copy it, or whatever, but I am not responsible for any damage
If you find any mistake in my code, please email me:
[email protected]
-------------------------------------------------------------------------------------
Convert n dimension to the corresponding index value in Z space filling curve
Usage: z-curve.py e <resolution> <coordinate 1> <coordinate 2> ... <coordinate n>
Convert an index value from Z space filling curve to n dimensional coordinates
Usage: z-curve.py d <resolution> <num of dimensions> <Z index value>
Test the program in m resolution and n dimensions
Usage: z-curve.py t <resolution> <num of dimensions>