What

July 5, 2017 ยท View on GitHub

A very simple fluid simulation running in your browser.

Demo here.

demo animation

For more info on the how the Smoothed-particle hydrodynamics (SPH) method is implemented, see this readme in my other related github project.

Hack it!

...just hack the javascript files. If you want to work on the coffeescripts, install node and node-coffee, then use this terminal command to automatically generate the .js files (and the .map files to help with the debugging):

coffee --watch -c --bare --map *.coffee

Also see...

I also made a few C versions.