A very simple fluid simulation running in your browser.
For more info on the how the Smoothed-particle hydrodynamics (SPH) method is implemented, see this readme in my other related github project.
...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
I also made a few C versions.