Hilbert Curve

Perhaps the best known Space Filling Curve is the Hilbert Curve.

Let's see how it looks with a bevel on each corner. I'm going to replace all calls to 'rt' (right turn) with a new function, rti, which "cuts" the corner.

External Links

See Also


Logo + Turtle graphics via Papert (via archive.org)