3D Pendulum Wave Simulation

Mesmerising pendulum waves with real-time tones.

In Sync (Unison Alignment) 00.0s / 102.3s

Drag to orbit • Pinch or scroll to zoom

Ideal harmonic (isochronous)
1.00 m
Shortest: 0.60 mT₀: 2.01s
0.50 kg (1 lb. 1.64 oz.)
Min: 10 gr ∝ m¹ᐟ³ • sustain
30°
Max: 45°
0.47 (Sphere)
γ: 0.000 s⁻¹ Env: 100%
Physics & maths

How the simulation works

There are two simulations here: the classic 3D pendulum wave rig, and a 2D wave basin with a polygon-shaped wall, floating sensor buoys and a source finder.

Pendulum rig

Each pendulum is a little shorter than the one before. In one full cycle (about 100 seconds at a 1 m base length) the longest swings 51 times, the next 52, then 53 and so on. Its length is set by T = 2π√(L/g), so L = L₀ × (51 / (51 + i))². Because each one gains exactly one swing per cycle, they drift out of step into travelling waves, a double helix and apparent chaos, then all line up again at the end of the cycle.

The release angle adds a large-swing correction (T grows by about θ²/16), and air drag fades the swing over time. A heavier bob has a larger ball but loses energy more slowly. A tone plays each time a bob passes the centre line.

Wave basin and buoys

Tap the water to drop a ripple. The surface solves the 2D wave equation on a grid, and the walls reflect the waves back, so each shape makes its own echo patterns. A wall chimes when a crest hits it.

The floating buoys bob with the surface. When a new wave reaches a buoy, it measures the wave's direction of travel (the energy flow, −(∂u/∂t)·∇u) and the time it arrived. Rays from the buoys back toward the source, plus the differences in arrival time between buoys, give an estimate of where the wave started. Echoes from the walls are ignored.

Drag to orbit the camera, pinch or scroll to zoom, or pick a preset view.

Works on Windows, Mac, Linux, iPhone, iPad and Android, nothing to install.

What is the 3D Pendulum Wave Simulation?

The 3D Pendulum Wave Simulation recreates the famous physics demonstration in which a row of pendulums, each a little shorter than the last, swings in and out of step. It runs in your browser on a phone, tablet or computer, with nothing to install, and you can turn the rig, zoom in and watch from the front, the side or straight down.

In one full cycle the longest pendulum swings 51 times, the next 52 times, then 53 and so on. Because each one gains exactly one swing per cycle, they drift apart into a travelling snake, split into a double helix, break up into what looks like chaos, then line up again perfectly at the end of the cycle. Every bob plays a soft note as it passes the centre, so you hear the patterns as well as see them.

A second simulation, the Wave Basin, shows waves on water. Tap the surface to drop a ripple and watch it spread, bounce off the walls of a triangle, square, hexagon or random rocky pool, and build up echo patterns. Floating buoys light up when a new wave reaches them and work out where it started.

Why use it?

It's one of the clearest ways to see how tiny differences in timing add up. The period of a pendulum depends on its length, through T = 2π√(L/g), and here you can change that length and see the whole pattern stretch or shrink. You can also turn on air drag, add a large-swing correction, make the bobs heavier or lighter, and watch what each change does to the motion.

The Wave Basin is a hands-on look at the wave equation, reflections and interference, and at how sensors can find the source of a sound or a ripple from arrival times alone, the same idea used to locate earthquakes. And if you just want something calm to watch and listen to, both simulations make a relaxing visual and sound break.

How to use it

  1. Pick Pendulum Rig or Wave Basin at the top.
  2. Drag on the picture to orbit the camera, pinch or scroll to zoom, or press 3D, Front, Side or Top for a preset view.
  3. Open Controls to change the base length, bob weight, release angle and air drag of the pendulums, or the shape, wave speed, damping and wave height of the basin.
  4. Under Sound & speed, choose how many pendulums there are (8 to 24), slow the simulation down or speed it up, and pick a sound such as marimba, crystal bowls, wind chimes or xylophone.
  5. Press Re-energise to give the pendulums a fresh swing after drag has slowed them, or Drop pulse to send a wave through the basin. Reset starts again from the beginning.
  6. In the basin, tap the water anywhere. The buoys flash as the wave passes, amber rays point back toward the source, and a pink marker shows their estimate. Use Move buoys or change how many there are to see how the estimate changes.
  7. Press the full-screen button for the biggest view, and the information button for a short explanation of the physics.

The bar along the top of the picture shows where you are in the cycle and the pattern the pendulums are making right now. Tones need a tap or click first, because browsers only allow sound after you've interacted with the page.

When to use it

  • Physics lessons on pendulums, periods, resonance and phase
  • Showing a class how waves reflect and interfere
  • Explaining how sources are located from arrival times
  • Science fair projects and revision
  • A relaxing visual and sound break
  • Curious minds of all ages