Skip to content
Fluid Table Tennis in the browser
JavaScript Shell
Latest commit 6b39911 Jan 28, 2013 @anirudhjoshi formatting
Failed to load latest commit information.
src formatting Jan 28, 2013
utils done Sep 18, 2012
LICENSE added explicit licences Sep 14, 2012 readme Sep 8, 2012


Table Tennis with fluid dynamics

Click here to play now!

Click here to watch the video!

Follow me here!

This is a demonstration of the possibilites that HTML5/browsers have to offer inspired by the wonderful work done by Steve Taylor (Plasma Pong).


It renders a table tennis game interacting with a full-color real-time fluid simulation at 60 FPS.

It utilizes the algorithim created by Jos Stam (Real-Time Fluid Dynamics for Games), monochrome dynamics implemented by Oliver Hunt (Oliver's simple fluid dynamics simulator), amended with RJ Marsan's RGB example (Plasma Pong Android by RJ Marsan) and a little special sauce by yours truly.

For those of whom don't understand why this is impressive: It just is.

This is possible mainly due to the wonderful work done by both the Chrome and Mozilla teams.

It has been tested to work with the latest versions of Chrome/Firefox.

Beta Disclaimer

If you are viewing this code - don't judge me too harshly :D.

Still needs a good clean up and encapsulation - just aimed to get it working as quickly as I could.


Something went wrong with that request. Please try again.