Home▸Physics & Mechanics▸2D Wave Basin: Dispersion Relation, Finite-Difference Wave Equation, Refraction and Energy

🌊 2D Wave Basin: Dispersion Relation, Finite-Difference Wave Equation, Refraction and Energy

Top-down wave basin with a staggered finite-difference solver of the linear shallow-water wave equation: slits, shoal refraction, harbour diffraction and depth-step reflection, plus section plot with Green's law, energy graphs, the full dispersion relation and CFL and energy checks.

Physics & Mechanics2DEasy60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
2D Wave Basin: Dispersion Relation, Finite-Difference Wave Equation, Refraction and Energy ↗ Open standalone
⚙ Under the hood

Top-down wave basin with a staggered finite-difference solver of the linear shallow-water wave equation: slits, shoal refraction, harbour diffraction and depth-step reflection, plus section plot with Green's law, energy graphs, the full dispersion relation and CFL and energy checks.

Water WavesWave EquationDispersion RelationHuygens PrincipleRefractionFinite DifferencesCFL ConditionEnergy Conservation

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

What did you find?

Add reproduction steps (optional)