3D Fluid Simulation Example
A basic implementation of SPH (Smoothed-Particle Hydrodynamics) solver. The native version runs multithreaded (and in order to run real-time, accuracy has been heavily sacrificed for performance), the web version is single-threaded and thus is significantly slower. See also 2D Fluid Simulation, which runs real-time just in a single thread.
Initialization...