Alexis Mabanza @ alexvolkihar.ovh

Harmonograph

One pen line drawn by damped pendulums

A harmonograph hangs a pen and a small drawing table from pendulums. Two of them swing at right angles, and sometimes a third pendulum under the table moves it in an ellipse, a fourth adds a second swing on each axis, or the table turns in a circle. Their frequencies sit close to a musical interval: unison, octave, fifth, fourth, major third, or a rarer one. Because the tuning is never quite exact, the figure slowly turns as it is drawn. Friction shrinks every swing, so the line spirals inwards and gets tighter towards the centre. The pen presses less as the run goes on, and the ink fades with it. Some pieces have a second or third run on top of the first, each in its own ink and each started a few swings later. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0x8019ac49…e897
Palette ChalkRatio FifthRig Two pendulumsDamping MediumPen Duo
0x31af855d…97ca
Palette BlueprintRatio OctaveRig Rotary tableDamping MediumPen Duo
0x587ea9d5…dd93
Palette BlueprintRatio ExoticRig Three pendulumsDamping ShortPen Layered
0x5926fda7…a175
Palette PaperRatio FourthRig Four pendulumsDamping MediumPen Layered
0x5b20565f…d7d6
Palette PaperRatio UnisonRig Three pendulumsDamping LongPen Layered
0x3ed2b7d8…7911
Palette RisoRatio ExoticRig Rotary tableDamping MediumPen Layered
0x7dba8f4d…e7fe
Palette SepiaRatio FourthRig Three pendulumsDamping LongPen Single
0x502f79b0…8d3c
Palette Night GoldRatio OctaveRig Two pendulumsDamping ShortPen Duo
0x40207473…e40b
Palette RisoRatio UnisonRig Four pendulumsDamping MediumPen Single
0xc66d8d0d…5516
Palette SepiaRatio OctaveRig Rotary tableDamping MediumPen Single
0xe98df3af…2b67
Palette Night GoldRatio FifthRig Three pendulumsDamping ShortPen Single
0xf5a69061…3e74
Palette ChalkRatio OctaveRig Rotary tableDamping MediumPen Duo

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PalettePaper 26 · Blueprint 18 · Sepia 16 · Night Gold 16 · Riso 14 · Chalk 10
RatioUnison 18 · Octave 22 · Fifth 22 · Fourth 16 · Third 12 · Exotic 10
RigTwo pendulums 30 · Three pendulums 32 · Four pendulums 18 · Rotary table 20
DampingLong 30 · Medium 45 · Short 25
PenSingle 50 · Duo 30 · Layered 20

Credits

  • The harmonograph: usually credited to Hugh Blackburn, who described a compound pendulum in 1844, and popular as a parlour instrument in Victorian Britain. Each pendulum adds a damped sine, A sin(2πft + p) e^(−dt), to the pen position.
  • Jules Antoine Lissajous, whose 1857 figures (two perpendicular vibrations at a frequency ratio) are the undamped case of these drawings.
  • Rendering: every point of the line is computed directly from time, never stepped from the previous one. The line is stroked half a swing at a time so that its width and opacity can follow the pen pressure. The palettes are original.
  • Randomness: sfc32 by Chris Doty-Humphrey. The hash seeding, named sub-streams and verification follow Camille Roux’s genart skill (MIT).
  • The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>