Hilbert curve
A way to walk a map in 1 single line so nearby cells stay close in the list.
Example
With the Hilbert curve, 4 neighboring cells end up at consecutive positions, like 12, 13, 14 and 15.
A way to walk a map in 1 single line so nearby cells stay close in the list.
Example
With the Hilbert curve, 4 neighboring cells end up at consecutive positions, like 12, 13, 14 and 15.

Free on iOS and Android. Start from zero, no account needed.