This demo was created at the Boston Music Hack Day on Nov. 9, 2013.
It can be viewed at chifeng.scripts.mit.edu/stuff/fluid (use Google Chrome)
It uses a modified form of Jos Stam's stable fluids method for simulating the velocity field of an incompressible, inviscid fluid on a 180x120 mesh.
Beat detection is done in real-time by analyzing the FFT provided by the Web Audio API.
The rendering is done using Canvas's createImageData with 200K tracer particles.
Music is Open (Ryan Hemsworth Remix) soundcloud.com/rhyemusic/open-ryan-hemsworth-remix