block by vasturiano db5e9e9cfe77d8c468136dc781ba0cc8

Morton (Z-order) Curve

Full Screen

A representation of the Morton (Z-order) curve, using d3-morton layout. Use the slider to modify the curve order (number of iterations). On mouse hover, XY coordinates are reversely converted to curve distance. Zoom/pan the canvas using mouse-wheel/drag events.

See also Hilbert curve.