Pendulum Wave Machine
\(N\) independent pendulums with lengths tuned so pendulum \(k\) completes exactly \((n_0+k)\) oscillations in time \(T\) — producing snake, butterfly, and wave patterns.
The Wave Machine Principle
Each pendulum \(k = 0, 1, \ldots, N-1\) has length \(L_k = \dfrac{g\,T^2}{4\pi^2(n_0+k)^2}\), chosen so it completes exactly \((n_0+k)\) oscillations in the pattern period \(T\). The differential phases between adjacent pendulums create collective wave patterns that repeat perfectly at \(t = T\).
Governing Equation
Each pendulum satisfies the exact nonlinear equation \(\ddot\theta_k = -(g/L_k)\sin\theta_k - d\,\dot\theta_k\), integrated with RK4 (step \(\Delta t = 0.005\,\text{s}\)). No small-angle approximation is used; the pattern periods are therefore slightly different from the ideal SHM prediction for large \(\theta_0\).
Reading the Displays
- Pendulum canvas: physical view showing rods, bobs, and the rainbow Catmull-Rom envelope through all bobs. Fading trail shows recent envelope history.
- Wave strip: 1D projection showing the horizontal displacement \(x_k = L_k\sin\theta_k\) of each bob, making the wave pattern instantly legible.
- Phase bar: progress within the pattern period \(T\), with key pattern times marked.
Parameters
Presets
Pattern Jump
Jump to key moments within the current cycle. The pattern repeats every \(T\) seconds. Key times: \(t=0\) (in-phase), \(t=\tfrac{T}{N}\) (snake), \(t=\tfrac{T}{2}\) (butterfly).