WebGL Fluid Dynamics based on Navier Stokes Equations it has also a Canvas version that i dont know whats the diference http://29a.ch/2012/11/5/html-5-canvas-fluid-simulation ps: works best at Firefox also others but need some things like webgl or soo