Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anirudhjoshi/fluid_table_tennis

Fluid Table Tennis in the browser
https://github.com/anirudhjoshi/fluid_table_tennis

Last synced: 6 days ago
JSON representation

Fluid Table Tennis in the browser

Awesome Lists containing this project

README

        

fluid_table_tennis
===============

#### Table Tennis with fluid dynamics ####

[Click here to play now!](http://anirudhjoshi.github.io/fluid_table_tennis/)

[Click here to watch the video!](http://www.youtube.com/watch?v=gcF-ZenWEM4&feature=plcp)

[Follow me here!](https://www.twitter.com/anirudh_joshi)

This is a demonstration of the possibilites that HTML5/browsers have to offer inspired by the wonderful work done by Steve Taylor ([Plasma Pong](http://www.plasmapong.com/)).

#### Introduction ####

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](http://www.autodeskresearch.com/pdf/GDC03.pdf)), monochrome dynamics implemented by Oliver Hunt ([Oliver's simple fluid dynamics simulator](http://nerget.com/fluidSim/)), amended with RJ Marsan's RGB example ([Plasma Pong Android by RJ Marsan](https://github.com/rjmarsan/PlasmaPongAndroid)) 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.

#### References ####

* [Oliver's simple fluid dynamics simulator by Oliver Hunt](http://nerget.com/fluidSim/)

* [Plasma Pong Android by RJ Marsan](https://github.com/rjmarsan/PlasmaPongAndroid)

* [Plasma Pong by Steve Taylor](http://www.plasmapong.com/)

* [Plasma Pong](http://en.wikipedia.org/wiki/Plasma_Pong)

* [Plasma Pong Demonstration](http://www.youtube.com/watch?v=NDjseVmruH8)

* [Fluid Simulation for Dummies by Mike Ash](http://mikeash.com/pyblog/fluid-simulation-for-dummies.html)

* [Real-Time Fluid Dynamics for Games by Jos Stam of Alias | wavefront](http://www.autodeskresearch.com/pdf/GDC03.pdf)