Home▸Fluid Dynamics & Aerodynamics▸2D Ocean Waves: Deep-Water Wave Cross-Section

2D Ocean Waves: Deep-Water Wave Cross-Section

2D side-on cross-section of open-ocean swell built from real deep-water wave theory: set wave height and period and watch wavelength, phase speed, energy density and wave power update live as a boat bobs on the surface.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted💧 Water⇄ 3D version
2d-3d-ocean ↗ Open standalone

This is the flat, side-on companion to the 3D ocean simulator. Instead of an orbitable open-water surface it shows a vertical slice through deep-water swell: a Stokes-corrected wave train (a sine wave plus a smaller second harmonic that sharpens the crests, just like real ocean swell) travels past a small boat that rides up and down with the surface. Set the wave height and wave period — the closest single dial to sustained wind speed — and watch wavelength, phase speed, energy density and wave power update live from the standard deep-water wave equations.

⚙ Under the hood

Side-on cross-section of deep-water ocean swell: set wave height and period and watch wavelength, phase speed, energy density and wave power update live from real wave theory as a boat rides the surface.

Wave DynamicsDeep-Water WavesWave Energy

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)