This is a simplistic fluid simulation based on the navier stokes equations using the HTML5 Canvas element. I created it to make sure I understood the concepts involved well enough before starting the WebGL implementation. I hope that the result of this experiments will lead to a successor to my (quite popular) Neon Flames experiment.

If you want to have some fun apply some pressure to one of the corners of the canvas. It will send the entire simulation on a acid trip. ;)

This happens because I do not enforce the boundary conditions in the solver. Of course I did this on purpose for speed and this trippy effect. ;)

by Jonas Wagner