Controls
Presets
Playback
Layers
Camera
Quality
Model checks
The science
Waves. The sea surface is a sum of three plane waves, eta(x,z,t) = sum a_i cos(k_i . r - w_i t + phi_i), with wavelengths 6, 9.5 and 13 m travelling in three directions. Each frequency follows the finite-depth dispersion relation of linear (Airy) waves, w^2 = g k tanh(k h): in deep water w = sqrt(g k), so long waves outrun short ones, and in shallow water w = k sqrt(g h) and all waves travel at the same speed. The depth slider changes this live (see the dispersion graph).
Phase and group speed. A crest moves at c = w/k; wave energy and the envelope of a wave packet move at c_g = dw/dk, which is c/2 in deep water. The model checks measure both from the surface itself.
Statistics. The mean-square elevation is sum a_i^2 / 2, so the significant wave height is H_s = 4 sqrt(sum a_i^2 / 2).
The buoy. It is a moored cylinder (radius 0.5 m) with one heave degree of freedom: (m + m_a) z'' + b z' + rho g A z = rho g A eta(x_b, z_b, t), with waterplane area A = pi R^2, an added mass m_a equal to the water in a half-sphere of radius R, and damping ratio zeta as a slider. Its natural frequency is w_n = sqrt(rho g A / (m + m_a)). The steady heave gain against the wave is 1 / sqrt((1 - r^2)^2 + (2 zeta r)^2) with r = w / w_n: a buoy tuned close to a wave frequency (try Buoy resonance) heaves higher than the waves; a heavy, damped buoy follows them less. The tilt is the local surface slope, atan |grad eta|.
Simplifications. Linear theory only (valid for wave steepness a k below about 0.3; the sliders stay inside that), so no wave-wave interaction, no breaking and no wind input. The wave force on the buoy is the undisturbed pressure at one point (Froude-Krylov, no diffraction), the radiation damping is lumped into the single ratio zeta, and surge, drift and pitch dynamics are not simulated (the mooring only holds the buoy in place). Amplitudes and wavelengths are illustrative, not a recorded sea state. The old page had a "wind" slider that only rescaled time; it is gone.
What to try
- Pick "Buoy resonance": only wave 1 is on and the buoy mass puts its natural period close to the wave period, so the heave gain climbs above 1.
- Pick "Shallow water" and watch the dispersion curve bend to a straight line and the wave periods change.
- Switch waves off one at a time: the sum is always the same three plane waves, the crests add only where phases line up.
- Raise the damping and compare the buoy trace with the wave trace.