💧 SPH Dam Break Simulation (2D)
A 2D Smoothed Particle Hydrodynamics dam-break simulation: a column of water particles collapses under gravity and splashes across a tank floor. Real SPH density, pressure and viscosity forces, tuned live with sliders.
⚙ Under the hood
A 2D Smoothed Particle Hydrodynamics simulation of a dam break: a column of water particles collapses under gravity, splashes across the tank floor, and settles. Real poly6 density kernel, spiky-gradient pressure force, and viscosity Laplacian drive the motion — adjust particle count, viscosity, and pressure stiffness to explore free-surface fluid behaviour in real time.
SPHsmoothed particle hydrodynamicsdam breakfluid simulationviscosityfree surface
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install