Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Gear spiral art

Draw spirograph-style gear patterns: choose ring and wheel teeth and a pen hole, layer colours, and save the picture as a PNG.

    How to use

    1. Choose the teeth on the fixed ring and on the rolling wheel, the pen hole (how far from the wheel's centre the pen sits) and whether the wheel rolls inside or outside the ring.
    2. Press Draw for a fresh pattern, or Add as a layer to draw over what is there in another colour.
    3. Make a PNG to save the picture.
    4. Gear table: pick a ring to list every wheel with the number of points and trips round the ring.

    Keyboard and touch

    TabMove between tabs, boxes and buttons
    EnterDraw (or list the wheels)
    TouchEvery control works by tapping

    Tips

    • A 105-tooth ring with a 63-tooth wheel gives 5 points (105 and 63 share the factor 21).
    • Wheels that share no factor with the ring, such as 96 and 25, make very dense patterns with many trips round.
    • A pen hole above 1 (outside the wheel's rim) makes loops; below 1 makes smooth waves.
    • Layer the same gears with slightly different pen holes for a ribbon effect.

    About this tool

    A wheel of r teeth rolling inside a ring of R teeth traces a hypotrochoid: x = (R − r) cos t + d cos(((R − r)/r) t), y = (R − r) sin t − d sin(((R − r)/r) t), with the pen at distance d from the wheel's centre (measured in tooth units, so radii are proportional to tooth counts). Rolling outside gives an epitrochoid with R + r. With g the greatest common divisor of R and r, the pattern has R/g points and closes after r/g trips round the ring.

    Spirograph is a trademark of its owners; this page is not connected with them and uses only the geometry of rolling circles. Everything runs in your browser.

    See you tomorrow!

    A fresh daily puzzle every morning, and new tools added every month.

    Browse every product