Is anyone aware of a space-filling curve where two points "near" each other in 2D are "near" each other when the curve is extended? This relationship doesn't seem to hold with the Hilbert curve: when two points are near each other on the curve they're near each other in 2D space, but not necessarily vice versa.
See the below image, for example. The two pixels at the bottom-center of the square are right next to each other in 2D, but when you "stretch out" the curve into 1D, they are very far apart.
Alternatively, can someone prove that no such mapping exists?