← All tools · 한국어

Harmonograph

Four pendulums, one pen, and the slow fade of friction. Nudge a slider and the figure becomes something else entirely.

x1
x2
y1
y2

Four damped pendulums draw one line. Nudge the sliders; tiny changes make entirely different figures. Save it as a wallpaper or copy the link to share the exact settings.

What a harmonograph is

A Victorian drawing machine: pendulums swing a pen over paper, and because they lose energy slowly the line spirals inward into those nested loops. Here two pendulums drive x and two drive y; near-whole-number frequency ratios (2:3, 3:4) give the cleanest figures, and a tiny offset (2 vs 2.01) makes them precess into rosettes.

  • "Surprise me" picks ratios that tend to look good.
  • Damping controls how fast it fades; zero never settles.
  • The link carries all 16 numbers.

Recipes

  • Circle and ellipse: x and y at the same frequency, phases a quarter turn apart (about 1.57). Change the amplitudes for an ellipse.
  • Figure eight: y at twice the frequency of x.
  • Pretzel: frequencies 2 and 3.
  • Rosette: two pendulums on one axis at nearly the same frequency, like 2 and 2.01 — the small mismatch makes the figure rotate as it shrinks.
  • Long tail: lower all four damping sliders to near zero for a dense, slow fade; raise them for a short, airy spiral.

Rainbow ink colours the line by time, so you can see where the drawing started and how it spiralled in.

A little history

Lissajous showed in 1857 how two vibrations at right angles draw closed curves; without damping, that is exactly what the sliders make here. Victorian makers added friction and a pen, and the harmonograph became a parlour instrument: the curves fade inward because real pendulums lose energy. Each figure here is computed point by point from the four damped sine waves, so the same settings always give the same drawing.

Questions

How do I share one exactly? The address bar holds all sixteen numbers; "Copy link" sends that address.

What resolution is the PNG? 1600 × 1600 pixels, drawn at twice the scale with a slightly thicker line, on cream paper.