Haunted Pendulum Wave (3D)

A crypt beam with brass pendulums of graded lengths: they drift into waves and snap back in phase after one cycle.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A row of pendulums hangs from a beam. Each one is a little shorter than its neighbour, chosen so that in one full cycle (for example 40 s) the first makes exactly 30 swings, the second 31, the third 32 and so on. They are released together, drift apart into travelling waves and standing patterns, and after exactly one cycle fall back into step. Nothing is scripted: every bob is integrated from the nonlinear pendulum equation.

Equations

  • Motion of pendulum i: θ'' = −(g / Li) sin θ − c θ', integrated with fourth-order Runge-Kutta at a fixed 2 ms step.
  • Lengths: Ti = Tcycle / (30 + i) and Li = g Ti2 / (4π2). A change of g keeps the lengths, so all periods scale as 1/√g and the resync time scales with them.
  • Large swings are slower: T(θ0) = T0 (2/π) K(sin(θ0/2)) ≈ T0 (1 + θ02/16 + 11θ04/3072). Because the amplitude is the same for all, every period stretches by the same factor and the resync is only delayed, not lost; the spread inside the wave becomes slightly uneven.
  • Coherence: R = |⟨eiφ⟩| with the phase-space angle φ = atan2(−θ'/ω0, θ); R = 1 means identical phase.
  • Energy per unit mass: E = ½ L2θ'2 + g L (1 − cos θ) is conserved when c = 0.

Checks run in the page

  • One pendulum's RK4 period against the series for finite amplitude.
  • Energy drift of an undamped 35 degree pendulum over 60 s.
  • Fifteen pendulums released at 3 degrees are back in phase (R close to 1) after exactly one 40 s cycle.

Honest simplifications

  • Bobs are point masses on massless threads; air drag is a single linear damping term and the swing stays in one plane.
  • The pendulums do not interact (real ones are coupled slightly through the beam).
  • After a kick the exact resync time is unknown, so the countdown is hidden until you reset.

What to try

  • Use Tiny swing: the resync is almost perfect at the predicted time marker in graph 1.
  • Use Big swing (35 deg): R at the resync is visibly lower and the period curve in graph 3 lifts.
  • Click a single bob and watch R drop and never fully recover.
  • Choose the Top view camera to see the sinuous wave pattern of the row.
Loading model...
Loading Blender model...
Phase coherence R(t) with predicted resync times
Bob displacement across the row (the wave)
Period of each pendulum: small-angle and finite-amplitude
Made with 🟠 Blender · Three.js