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