Showcase » 3D Fluid Simulation Example

A ba­sic im­ple­ment­a­tion of SPH (Smoothed-Particle Hy­dro­dy­nam­ics) solv­er. The nat­ive ver­sion runs mul­ti­th­readed (and in or­der to run real-time, ac­cur­acy has been heav­ily sac­ri­ficed for per­form­ance), the web ver­sion is single-threaded and thus is sig­ni­fic­antly slower. See also 2D Flu­id Sim­u­la­tion, which runs real-time just in a single thread.

Initialization...