🌊 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.
⚙ 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