💧 Fluid SPH: Smoothed-Particle Hydrodynamics Dam Break, Pressure and Viscosity
2D smoothed-particle hydrodynamics fluid simulation: dam break, drop into a pool, hydrostatic pressure and sloshing with pressure, viscosity, kernels and in-page numerical checks.
⚙ Under the hood
2D smoothed-particle hydrodynamics lab: dam break, drop into a pool, hydrostatic test and sloshing tank with poly6 and spiky kernels, pressure, viscosity, wall particles and three in-page numerical checks.
SPHFluid SimulationDam BreakHydrostatic PressureViscosity
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install