The Hilbert Curve can help us see how to map a line segment to a filled in square so that points close on the line are close in the square.  Use the right and left arrows to adjust the complexity.


This browser does not support HTML5 (try Chrome).