This is a basic water body simulation based on the Smoothed Particle Hydrodynamic (SPH) method with leapfrog integrator for simulate water fluids in 2D from CPU using JavaScript and ThreeJS. The code was originally written in c by the Computer Science professor David Bindel at Cornell University as a parallel computing class exercise.
- See a live demo
- This port was made in collaboration with jorovipe97
- The original c source code is here