Interactive Pendulum Wave Simulation

A pendulum wave is a mesmerizing physical phenomenon created by multiple pendulums of different lengths oscillating from the same support. Although all pendulums start in phase, their slightly different natural periods gradually cause them to drift apart, forming beautiful wave-like patterns. After a certain amount of time, the system partially or fully synchronizes again, creating repeating visual structures.

This interactive simulation lets you experiment with pendulum lengths, initial angle, gravity, and time scale while observing how differences in oscillation period influence phase relationships between multiple pendulums.

Brief Theory #

A mathematical pendulum consists of a point mass suspended from a massless, inextensible string.

For small oscillation angles, the period of a pendulum is approximately:

T = 2π√(L/g)

where:

  • T is the oscillation period,
  • L is the pendulum length,
  • g is the gravitational acceleration.

Because the oscillation period depends on the square root of the pendulum length, longer pendulums swing more slowly than shorter ones.

When multiple pendulums of different lengths start from the same initial angle, their motions gradually drift out of phase. This produces evolving geometric patterns known as a pendulum wave. At specific moments, the pendulums may align again, creating striking synchronization effects.

This simulation models ten pendulums suspended from a common point. Their lengths are evenly distributed between the selected minimum and maximum values, allowing you to explore how small changes in period lead to complex collective motion.

The motion of each pendulum is calculated using the nonlinear equation:

θ’’ + (g/L)sin(θ) = 0

Unlike the small-angle approximation, this equation remains accurate for larger oscillation amplitudes.

Numerical integration is performed using the fourth-order Runge–Kutta (RK4) method, providing stable and accurate results throughout the simulation.

Mathematical Pendulums

Current Values

Angle
Lengths
2.0–5.0 m
Period
0 s
Frequency
0 Hz
Time
0 s
g
9.81