Hilbert CurveΒΆ
Interpolate between different order Hilbert Curves
Highlights:
interp
,lerp
,ease
, seamless loopingInspiration: 3Blue1Brown, Coding Train
A Hilbert Curve is a space-filling curve : an zero-width line filling 2d space.
It maps the unit square onto the unit interval. That is, every point in the square can be assigned a unique coordinate from 0 to 1.
The true curve has infinite length. In this example we draw successive approximations to the curve, which approach it in the limit as n goes to infinity.