Showcase » 3D Fluid Simulation Example

A ba­sic im­ple­men­ta­tion of SPH (Smoothed-Par­ti­cle Hy­dro­dy­nam­ics) solver. The na­tive ver­sion runs mul­ti­thread­ed (and in or­der to run re­al-time, ac­cu­ra­cy has been heav­i­ly sac­ri­ficed for per­for­mance), the web ver­sion is sin­gle-thread­ed and thus is sig­nif­i­cant­ly slow­er. See al­so 2D Flu­id Sim­u­la­tion, which runs re­al-time just in a sin­gle thread.

Initialization...