ALGORITHMICS / STUDIES / SPIROGRAPH

Spirograph

A grey, inward-toothed ring holds a smaller rolling cog. Its offset pen-hole draws a coloured hypotrochoid as the cog turns inside the ring.

Spirograph model

Mechanism examples

Each example keeps integer gear teeth. Rate changes the displayed rolling tempo only; it does not alter the gear ratio or the exported curve.

SVG output

Study record

Cog pitch is derived from a single tooth size. The requested radii are reconciled to whole tooth counts, so the displayed ring and wheel use a compatible SVG-ready ratio.

100%