SacredForm Open the app

SacredForm · Harmony

Harmonograph and Lissajous curves

Pendulums that draw the shape of a musical interval

A harmonograph is a drawing machine moved by pendulums. Swinging at the ratio of a musical interval, they draw its shape: the octave, the fifth, the fourth, each a figure of its own, turning and spiraling in as the swing dies. With no damping, they draw pure Lissajous curves. Here it has two-pendulum, rotary and three-pendulum machines, and saves every drawing for a pen plotter.

Open the harmonograph

Free, with no account, on a computer or a phone. Tap the drawing to let the pendulums go again.

The perfect fifth, 3 : 2, drawn by two pendulums in the harmonograph, the line passing from gold through rose to violet as it fades

How it draws

In the simplest harmonograph one pendulum moves the pen from side to side and another, swinging at right angles, moves it to and fro. Together they trace a Lissajous figure, the curve Nathaniel Bowditch studied in 1815 and Jules Antoine Lissajous, who gave it his name, in 1857. When the two frequencies stand in a ratio of small whole numbers the pen comes back to where it began and the figure closes; the ratios that close most simply, 2 : 1, 3 : 2, 4 : 3, are the octave, fifth and fourth that the ear hears as consonant. The golden ratio φ is no ratio of whole numbers, and its figure never closes.

A real pendulum loses a little of its swing to friction on every pass, so the figure spirals in until the pen lifts; here the swing shrinks by e−damping each cycle. A slight detune, one pendulum a hair off its interval, makes the figure turn slowly as it shrinks: the same mistuning that makes two notes beat. On a real machine the ratio is set by the pendulums’ lengths: a pendulum’s frequency goes as one over the square root of its length, so an octave needs one pendulum a quarter the length of the other.

Lissajous curves

Turn the damping off and the swing never dies. Two pendulums at right angles then draw a pure Lissajous curve, the pen at x = sin(t + δ), y = sin(r t), where r is the ratio of their frequencies and δ the phase between them. When r is a ratio of whole numbers p : q the curve closes, after q swings of the first pendulum, and the pen goes round it once and stops; a ratio such as φ never closes, and the pen weaves to and fro across a square for a while before it stops. Any detune would turn the figure, so while the damping is off the detune is held at zero.

The phase shapes the figure. At 1 : 1 the curve is an ellipse, a circle at 90° and a slanted ellipse at 45°; at 2 : 1 it is a figure of eight, folding into a parabola at 45°. The same curves appear on an oscilloscope set to draw one signal against another, where they compare a signal under test with a known reference. Every figure below is drawn by the app’s own pendulums.

  • The Lissajous curve of unison, 1 : 1, at 90°, drawn by two undamped pendulums: a circle
    Unison, 1 : 1, at 90°
  • The Lissajous curve of unison, 1 : 1, at 45°, drawn by two undamped pendulums: a slanted ellipse
    Unison, 1 : 1, at 45°
  • The Lissajous curve of octave, 2 : 1, drawn by two undamped pendulums: a figure of eight
    Octave, 2 : 1
  • The Lissajous curve of octave, 2 : 1, at 45°, drawn by two undamped pendulums: a parabola
    Octave, 2 : 1, at 45°
  • The Lissajous curve of fifth, 3 : 2, drawn by two undamped pendulums: a closed figure that crosses itself
    Fifth, 3 : 2
  • The Lissajous curve of fourth, 4 : 3, drawn by two undamped pendulums: a closed figure that crosses itself
    Fourth, 4 : 3

Three machines

  • Two pendulums: the lateral harmonograph above, one pendulum for each direction.
  • Rotary: pen and table each ride on a pendulum free to swing in any direction, so each traces a circle. When they circle the same way, a ratio p : q draws p − q lobes; when they circle against each other, p + q. The fifth, 3 : 2, draws one lobe or five.
  • Three pendulums: the two lateral pendulums move the pen over a table that circles on a third, which wraps the figure round itself.

Choose an interval or set any ratio, and adjust the detune, the phase between the pendulums and the damping, or turn the damping off. The pen can draw in gold, in moonlight, or drifting from gold through rose and violet to cyan as the swing fades, at any width and speed. A finished drawing saves as an SVG in millimeters, one path per color so each can be its own pen, ready for a pen plotter.

The intervals

The intervals offered in the app. Rotary lobes: pen and table circling against each other, or the same way.
IntervalRatioCentsRotary lobes
Unison1 : 10a line or a circle
Octave2 : 112003 or 1
Fifth3 : 27025 or 1
Fourth4 : 34987 or 1
Major third5 : 43869 or 1
Minor third6 : 531611 or 1
Major sixth5 : 38848 or 2
Twelfth3 : 119024 or 2
Goldenφ : 1833never closes

The intervals, drawn

Each figure below is traced by the app’s own pendulums, at its starting phase and detune, with the swing dying faster than its default so the figure stays open.

  • Harmonograph trace of the octave, 2 : 1: two pendulums at right angles draw a closed figure that turns slowly as it spirals in
    Octave, 2 : 1
  • Harmonograph trace of the fifth, 3 : 2: two pendulums at right angles draw a closed figure that turns slowly as it spirals in
    Fifth, 3 : 2
  • Harmonograph trace of the fourth, 4 : 3: two pendulums at right angles draw a closed figure that turns slowly as it spirals in
    Fourth, 4 : 3
  • Harmonograph trace of the major third, 5 : 4: two pendulums at right angles draw a closed figure that turns slowly as it spirals in
    Major third, 5 : 4
  • Harmonograph trace of the major sixth, 5 : 3: two pendulums at right angles draw a closed figure that turns slowly as it spirals in
    Major sixth, 5 : 3
  • Harmonograph trace of the golden, φ : 1: two pendulums at right angles draw a figure that never closes, since φ is no ratio of whole numbers
    Golden, φ : 1
  • Rotary harmonograph trace of the fifth, 3 : 2, with pen and table circling the same way: one lobe
    Fifth, rotary, circling together
  • Rotary harmonograph trace of the fifth, 3 : 2, with pen and table circling against each other: five lobes
    Fifth, rotary, circling against

History

Harmonographs appeared in the mid-1800s, and no single inventor is known. They are often credited to the Glasgow mathematician Hugh Blackburn, who in 1844 described a pendulum that swings two ways at once; the name harmonograph dates from the 1870s. They were at their most popular in the 1890s.

The harmonograph is in SacredForm’s Harmony mode, beside the monochord, the Lambdoma, the polyrhythm rings and the planets: see the music of the spheres.