Thanks! That is indeed all thanks to using the hilbert curve fractal which has the property that it maps numbers which are close together onto 2d (or higher dimensional) coordinates which are close together, its a very cool property! Its used in lots of contexts for that reason