Image tool

Spirograph Maker

Adjust integer radii and color to redraw the closed curve locally.

In-browser processingNo account requiredPrivacy details ↗

Use integers: R 2–200, r 1–199 and r < R, d 0–200.

Download SVG

A QUICK WALKTHROUGH

How to use this tool

  1. Set R, r and d.
  2. Review the live curve or choose a random pattern.
  3. Download the SVG.

Spirograph Maker

R: 2–200, r: 1–199 with r < R, d: 0–200. The curve follows x=(R-r)cosθ+d cos((R-r)θ/r), y=(R-r)sinθ-d sin((R-r)θ/r). It closes after r/gcd(R,r) turns and uses up to 60,000 line segments.

GOOD TO KNOW

Common questions

Is the output a vector?

Yes. The SVG contains a sampled line path, not a bitmap.