Free tools & games for everyone
Free · No sign-up · No accounts
A virtual ripple tank: make waves, add gaps and walls, and watch interference, diffraction, reflection and refraction. Plus real water-wave speeds.
| Tab | Move between tabs, lists, sliders and buttons |
|---|---|
| Arrow keys on a slider | Change the period or brightness by one step |
| Tap or drag on the tank | Add a source, draw a wall or erase (as chosen in the list) |
| Enter in a box | Work out the wave speed |
The tank is a grid of 200 by 125 cells. Each step every cell moves by the 2D wave equation in its finite difference form: the new height is twice the present height, minus the last height, plus c² times the difference between the cell and its four neighbours. Here c² is 0.25 in deep water and 0.0625 in shallow water, so shallow waves move at half the speed. Walls hold the water at rest, so waves reflect from them. A soft sponge band along the edges damps the waves so the tank behaves as if it were much larger. Sources move up and down as a sine wave. This is a teaching model: real tanks also lose energy and have waves of many lengths at once.
The speed tab solves the water-wave dispersion relation ω² = (g k + σ k³ / ρ) tanh(k h) for the wavenumber k, with g = 9.80665 m/s², surface tension σ = 0.0728 N/m and density ρ = 1000 kg/m³. The wave speed is ω / k and the group speed is dω/dk. In water much shallower than a wavelength the speed is close to √(g h); in deep water it does not depend on the depth at all. Everything runs in your browser.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product