Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Harmonograph

Draw harmonograph art: set up to four swinging pendulums and a turning table, watch the pen spiral, and save the picture as PNG or SVG.

PendulumSize (0-1)SpeedStart angle (°)Fade
Left-right pendulum 1
Left-right pendulum 2
Up-down pendulum 1
Up-down pendulum 2
Turning table (circles)

How to use

  1. Pick a starting design or press Surprise me.
  2. Each row is one pendulum. Size is how far it swings, speed how fast (only the ratios between speeds matter), start angle where in its swing it starts, and fade how quickly it dies away. A size of 0 switches a pendulum off.
  3. Press Draw. Save the picture as a PNG, or as an SVG to print large or cut on a plotter.

Keyboard and touch

Tab between the boxesChange any setting
EnterDraw

Tips

  • Speeds in a simple ratio (2 and 3, or 3 and 4) give the classic figures. Change 3 to 3.01 and the figure slowly turns as it fades.
  • A start angle of 90° between left-right and up-down turns a line into a loop.
  • Less fade and a longer drawing time give dense, silky drawings; more fade gives an open spiral.
  • White ink on navy paper looks like a Victorian print.

About this tool

The harmonograph was a popular Victorian scientific toy: pendulums move a pen and a drawing table, and because each swing slowly loses energy, the pen spirals inwards. Each pendulum here is the damped swing A sin(f t + p) e−d t. Two of them add up left-right, two up-down, and an optional turning table moves the paper in circles. Speeds in small whole-number ratios make the same shapes as musical intervals (2 : 1 is an octave, 3 : 2 a fifth); that is why harmonographs were used to show harmony. The tests check the formula, that undamped whole-number speeds close the figure exactly, and that the drawing never leaves the area set by the sizes.

See you tomorrow!

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

Browse every product