hilbert_curve_test, an Octave code which calls hilbert_curve(), which converts between 1D and 2D coordinates of the Hilbert curve.
The computer code and data files made available on this web page are distributed under the MIT license
hilbert_curve, an Octave code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.