PF StudioFrançais

Spirograph maker online

Style

00:00 / 00:30Seed 1789

Settings

A toothed wheel rolls in a ring and a pen draws petals. Each petal plays a note.

96
42
82 %
The wheel rolls
2
1
3.5
Gradient along the line
Show the gears

Look

Shown at the top for the whole video. 80 characters at most.

30 s
Palette
Progress bar
Show what the apps cover

Sound

Every note comes from this scale, so nothing can play out of tune.

80
Mute

Export

Recording happens in real time: 30 s of video, 30 s of waiting. Keep the tab in front.

My creations

Recorded

Download the video

It runs in your browser, it is free, it needs no account, and exported videos carry a small watermark.

This online spirograph maker simulates the toy made of a toothed ring and a toothed wheel. The wheel rolls inside the ring, or around it, and a pen fixed to the wheel draws flowers, stars and loops. You see the gears turn and the line appear, and each completed petal plays a note.

Choose the number of teeth of the ring (40 to 144) and the wheel (8 to 120), the position of the pen, the number of arms and the symmetry. The counter on screen shows the ratio of teeth and the number of petals drawn, and the result is recorded as a vertical video of 10 to 60 seconds.

Made with this style

How to make it

  1. Set the gears. Ring teeth from 40 to 144, wheel teeth from 8 to 120. The ratio of the two numbers decides how many petals the figure has.
  2. Choose inside or around. The wheel can roll inside the ring, which gives a hypotrochoid, or around the outside, which gives an epitrochoid.
  3. Move the pen. The pen position is a percentage of the wheel radius, from 10 to 140 %. Small values make smooth petals, large values make sharp points and loops.
  4. Add arms and symmetry. Up to 6 pens (arms) and up to 8 rotated copies. You can also change line width, the gradient along the line and whether the gears are shown.
  5. Choose sound and record. Pick palette, scale, key and hook, then export 10 to 60 seconds in real time. The file is MP4 or WebM depending on your browser.

The mathematics of a spirograph: hypotrochoids and epitrochoids

Take a fixed ring of radius R and a wheel of radius r rolling without slipping inside it, with a pen at distance d from the wheel centre. The pen traces a hypotrochoid: x = (R - r) cos t + d cos(((R - r) / r) t) and y = (R - r) sin t - d sin(((R - r) / r) t). If the wheel rolls on the outside, the curve is an epitrochoid: x = (R + r) cos t - d cos(((R + r) / r) t) and y = (R + r) sin t - d sin(((R + r) / r) t). In the tool d is the pen position as a percentage of r, so above 100 % the pen sits beyond the rim of the wheel.

In a real spirograph, teeth keep the wheel from slipping, and since teeth have the same pitch, the radii are proportional to the tooth counts. Only the ratio R : r matters for the shape. Let g be the greatest common divisor of the two tooth counts. The curve closes after the wheel has made r / g turns around the ring, and the figure has R / g petals or lobes. With 96 teeth on the ring and 42 on the wheel, g is 6, so you get 16 petals after 7 turns. With 96 and 36, g is 12, and the figure has just 8 petals, closing after 3 turns.

If the two numbers are coprime, g is 1 and the pen visits R lobes before closing, which is the densest pattern for a given ring. The pen distance d changes the character without changing that count: when d is less than the wheel radius the lobes are rounded, when d equals r the pen touches the ring and the curve has cusps, and when d is larger it makes loops. Arms and symmetry only add more pens or rotated copies of the same figure.

Each completed petal triggers a note, so the number of petals sets the length of the melody.

Tips

  • Pick coprime tooth counts (for example 96 and 41) for the densest, most detailed pattern, or a shared divisor for a clean figure with few petals.
  • Leave the gears visible in the opening seconds. Seeing the machine run is what makes people wait for the finished drawing.
  • Try a pen position near 100 % for sharp points and above 100 % for loops.
  • Use a gradient and a thick line for readability on a phone; thin lines disappear after video compression.
  • A fixed hook that names the numbers, such as the tooth counts, gives the video a curious, educational angle.
  • Change the tooth counts, palette and scale in every video so your uploads are not near-identical.

Frequently asked questions

What is the difference between inside and around?
Inside the ring the figure is a hypotrochoid and stays within the ring. Around the ring it is an epitrochoid and extends outside the ring, so it is drawn smaller to fit the screen.
How do I get more petals?
Use a ring and a wheel whose tooth counts share no common divisor. The number of petals is the ring teeth divided by the greatest common divisor of the two counts.
Is the spirograph maker free?
Yes. Exports carry a visible watermark. A Pro version without watermark is announced as coming soon but is not on sale.
What file format and size do I get?
A vertical 1080 by 1920 video, MP4 or WebM depending on your browser, recorded in real time over 10 to 60 seconds.
Can I monetise spirograph videos?
Nothing is guaranteed and no views or income are promised. YouTube does not monetise repetitive or mass-produced content, so vary the gears, colours, music and text, and do not post the same video again and again.

Other styles to try: Piano, Musical balls and Fourier epicycles. To go further: Vertical video formats and safe zones for TikTok, Shorts and Reels and How Fourier epicycles work.