Three.js Blocks 2D SPH Fluid Simulation
Smoothed Particle Hydrodynamics models fluid motion in 2D. The demo simulates thousands of particles on an orthographic domain with pointer forces, optional spatial grid debugging, and instanced billboards colored by velocity.