Skip to content

basic fluid simulations in the browser using the Smoothed-particle hydrodynamics (SPH) method. Based on Yusuke Endoh's "Most complex ASCII fluid" obfuscated C code competition 2012 entry.

Notifications You must be signed in to change notification settings

davidedc/Basic-fluid-simulation-in-the-browser

Repository files navigation

What

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.

About

basic fluid simulations in the browser using the Smoothed-particle hydrodynamics (SPH) method. Based on Yusuke Endoh's "Most complex ASCII fluid" obfuscated C code competition 2012 entry.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published