ToolJutsu
All tools
Creative Tools

Spirograph Generator

Generate hypnotic spirograph patterns.

Curve type
200
76
64
19
1.6
Presets

13,681 sample points · the curve closes after about 19 turns

Processed on your device. We never see your files.

How to use Spirograph Generator

What this tool does

This spirograph generator recreates the classic drawing toy as exact mathematics. A fixed ring holds a smaller gear; a pen sits at a chosen point on that gear, and as the gear rolls around the ring the pen traces a looping, symmetrical curve. Instead of plastic wheels you get sliders: change the ring radius, the gear radius, the pen offset and the number of revolutions, and the curve redraws instantly on the canvas. The result can be saved as a PNG image or as a scalable SVG vector file.

The page opens with a finished pattern already on screen, so you can start by nudging a slider and watching how each number reshapes the curve. There is nothing to install and no sign-up — it is a single page that runs entirely in your browser.

When you’d use it

Spirograph curves are quietly useful in a lot of creative work. Designers use them as decorative backgrounds, logo accents and section dividers. Teachers bring them into geometry and trigonometry lessons because the shapes make abstract ideas about ratios and periodic motion visible and playful. Hobbyists export them for colouring pages, embroidery and string-art templates, or feed the SVG into a pen plotter or laser cutter. Game makers use tight, web-like patterns as mandalas, portal effects or UI flourishes. Even a plain presentation slide gains character with a soft loop pattern behind the title. Because the output is a clean vector path, it slots into almost any of those pipelines without fuss.

How to use it

  1. The tool loads with a default pattern. Choose Inside for a hypotrochoid (gear rolls inside the ring) or Outside for an epitrochoid.
  2. Drag Ring radius, Gear radius and Pen offset to reshape the curve. Small changes to the gear radius have the biggest effect on how many petals or loops appear.
  3. Raise Revolutions until the pattern closes — the line under the canvas tells you roughly how many turns that takes.
  4. Set Line thickness for a fine, web-like look or a bolder ribbon.
  5. Pick a Stroke colour and a Background colour with the swatches.
  6. Press Randomize for a surprise design, or tap a Preset for a known good starting point, then fine-tune from there.
  7. Use Download PNG for a ready image or Download SVG for an infinitely scalable vector file.

Tips for great results

The most striking patterns come from gear radii that do not divide evenly into the ring radius — those ratios produce the dense, star-like webs. For gentle, open loops, pick a gear radius close to the ring radius and keep revolutions low. A large pen offset pushes the curve outward into sharp points; a small offset keeps it rounded and calm. For print or cutting, thin lines and a high revolution count give an intricate result, while thick lines and few loops read better at small sizes such as an icon. Try a light background with a dark stroke for paper-friendly artwork, and the reverse for screens. If you want a layered look, generate two curves with different settings and stack their SVGs in a vector editor. Pair this with the gradient generator for a colourful backdrop, or the colour palette generator to choose a stroke and background that work well together. The pattern generator and CSS doodle generator are good companions when you need a repeating texture instead of a single curve.

Privacy

Everything here happens on your device. The curve is computed by JavaScript in your browser and rendered on a local canvas; no parameters or images are uploaded, nothing is saved on a server, and there is no tracking of the designs you create. Once the page has loaded you can keep generating patterns even offline. The only files that ever leave the page are the PNG or SVG downloads you choose to save yourself.

Frequently asked questions

What is a spirograph pattern, mathematically?
It is a roulette curve — the path traced by a point attached to a small circle that rolls around a larger circle. When the small gear rolls inside the ring you get a hypotrochoid; when it rolls outside you get an epitrochoid. The shape depends on three numbers: the ring radius, the gear radius and how far the pen sits from the gear's centre. This tool plots those equations directly, so every curve you see is exact maths rather than a hand drawing.
Why does my curve never close into a clean loop?
The curve only closes neatly when the ring radius and gear radius share a simple ratio. If the two numbers have a large lowest-common-denominator the pen has to travel many turns before returning to its start, which is why some patterns look like dense webs. The readout under the canvas estimates how many turns are needed — raise the Revolutions slider until it meets or exceeds that figure to see the full, closed pattern.
Should I download the PNG or the SVG?
Use PNG when you need a finished raster image at the preview size — a social post, a thumbnail, a slide background. Use SVG when you want the pattern to stay razor-sharp at any size: the SVG stores the curve as a single vector path, so you can scale it to a poster or laser-cut it without any blur or pixelation. SVG files are also tiny and can be recoloured later in a vector editor. If in doubt, take the SVG; you can always rasterise it afterwards.
Is my pattern private when I use this generator?
Completely. The curve is calculated by JavaScript running in your browser and drawn on a local canvas. No parameters, images or files are sent to a server, nothing is stored between visits, and there is no account or tracking of what you make. When you close the tab the pattern is gone unless you downloaded it. You can generate as many designs as you like fully offline once the page has loaded.
Can I use these patterns in commercial work?
Yes. The shapes are generated by mathematical formulas, not copied from any artwork, so the output is yours to use in logos, prints, packaging, game art, textiles or client projects. There is no licence to accept and no attribution required. Just keep in mind that very simple curves may look similar to ones other people generate, so for a distinctive brand mark, combine or customise rather than using a single default pattern unchanged.

Related tools