Harmonograph Simulator

Watch a virtual damped compound pendulum draw intricate parametric curves. Adjust frequency ratios, phase offsets, and damping to generate spiralling geometric art — the mathematics of Victorian drawing machines.

FREE Physics Mathematics NEW · Session 44
Ratio 2:3
Time 0.0s
Points 0
Amplitude 100%
Playback
Presets (1–6)
Frequency
Phase Offset
Damping
Amplitude
Speed
Display

⌨ Keyboard Shortcuts

Space Play / Pause
C Clear canvas
S Sweep phase toggle
1 Classic preset
2 Figure-8 preset
3 Infinity preset
4 Web preset
5 Butterfly preset
6 Rose preset

What is a Harmonograph?

A harmonograph is a mechanical device that uses swinging pendulums to draw geometric patterns. First popularised in the Victorian era (1840s–1890s), it typically consists of two or three pendulums: one moves a pen in the x-direction, another moves paper in the y-direction, and an optional third adds rotational motion. As the pendulums swing simultaneously, the pen traces intricate Lissajous-like curves on paper.

The word "harmonograph" comes from the Latin harmonia (agreement, consonance) and Greek grapho (I write). Victorian scientists including Hugh Blackburn and Jules Antoine Lissajous studied how frequency ratios between the pendulums determine the family of curves produced — a deep connection between music, mathematics, and visual art.

Victorian Invention

Popularised in the 1840s–1890s. Exhibited at the Great Exhibition (1851) and became a fashionable parlour scientific instrument in Victorian homes and laboratories.

Damped Oscillation

Real pendulums lose energy to air resistance and friction, causing the amplitude to decay exponentially: A(t) = A₀·e−dt. This damping creates spiralling inward patterns.

Frequency Ratios

Simple integer ratios (2:3, 3:4) produce clean Lissajous figures. Near-integer ratios (2.01:3.00) create slowly precessing patterns that reveal the underlying Lissajous structure.

Phase Sensitivity

The phase offset δ between the x and y pendulums determines the "rotation" of the Lissajous figure. At δ = 0 the figure is a line, at δ = π/2 an ellipse, at δ = π/4 a tilted figure.

The Mathematics of the Harmonograph

This simulation computes the position of the pen at each time step using the damped simple harmonic oscillator equations for each axis:

Parametric Equations

x(t) = Ax · sin(fx·t + δx) · e−dx·t

y(t) = Ay · sin(fy·t + δy) · e−dy·t

Where fx, fy are angular frequencies, δx, δy are phase offsets, dx, dy are damping coefficients, and Ax, Ay are initial amplitudes.

Each equation describes a damped simple harmonic oscillator — the same mathematics that governs a mass-on-a-spring with friction, an LC circuit with resistance, or a pendulum with air drag. The product of the sinusoidal oscillation and the exponential decay envelope produces oscillation that diminishes over time.

Frequency Ratio Table

Ratio fx:fy Pattern Family Musical Interval Symmetry
1:1Ellipse / CircleUnisonInfinite rotational
1:2Figure-8 / ParabolaOctaveBilateral
2:3Classic Lissajous bowPerfect Fifth2-fold rotational
3:4Three-loop figurePerfect Fourth3-fold rotational
3:5Five-petal roseMinor Sixth3-fold rotational
Near-integerSlowly rotating patternSlightly detunedNone (quasi-periodic)

Damping and Energy Dissipation

The exponential decay term e−dt models energy dissipation. For a physical pendulum, d = b/(2m) where b is the linear damping coefficient and m is the mass. The time constant τ = 1/d gives the time for amplitude to fall to 1/e ≈ 37% of its initial value.

Asymmetric damping (dx ≠ dy) causes one axis to collapse faster than the other, producing patterns that morph from 2D Lissajous figures toward 1D oscillations as time progresses — a distinctly harmonograph phenomenon not seen in undamped Lissajous curves.

Lissajous Curves vs Harmonograph Patterns

Lissajous curves (studied by Jules Antoine Lissajous in 1857) are the undamped special case d = 0. They produce perfectly closed, time-independent curves that serve as the geometric skeleton of harmonograph patterns. When d → 0 in this simulator, the spiralling slows and the pattern approaches a stable Lissajous figure.

Lissajous figures are widely used in electronics and physics: on an oscilloscope, connecting two sinusoidal signals to the X and Y channels produces Lissajous figures whose shape reveals the frequency ratio and phase relationship between the signals. This makes them essential for calibrating audio equipment, testing electronic filters, and measuring phase angles in AC circuits.

The Phase Sweep Effect

Click "Sweep Phase" (or press S) to continuously animate the phase offset δy. As δ sweeps from 0 to 2π, the Lissajous figure rotates through all orientations — from a tilted line (δ=0,π) through ellipses to a circle (δ=π/2). This is exactly what oscilloscopes display when one signal is slightly off-frequency from another, producing the characteristic "breathing" Lissajous pattern used in frequency comparisons.

Curriculum Connections

Level Subject Topics Covered
GCSEPhysicsWaves, oscillations, energy dissipation
A-LevelPhysicsSimple harmonic motion, damping, resonance
A-Level Further MathsMathematicsParametric equations, differential equations, exponential decay
IB Physics HLPhysicsOscillations and waves: SHM, damping, phase
IB Maths AA HLMathematicsParametric functions, complex oscillations
University Year 1Physics/EngineeringCoupled oscillators, Fourier analysis, damped SHM