Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anirudhjoshi/fluid_table_tennis
Fluid Table Tennis in the browser
https://github.com/anirudhjoshi/fluid_table_tennis
Last synced: about 1 month ago
JSON representation
Fluid Table Tennis in the browser
- Host: GitHub
- URL: https://github.com/anirudhjoshi/fluid_table_tennis
- Owner: anirudhjoshi
- License: other
- Created: 2012-09-08T04:12:02.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-07-02T00:49:53.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:16:52.705Z (4 months ago)
- Language: JavaScript
- Homepage: http://anirudhjoshi.github.com/fluid_table_tennis
- Size: 5.57 MB
- Stars: 78
- Watchers: 8
- Forks: 25
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-open-source-games - Fluid Table Tennis - Renders a table tennis game interacting with a full-color real-time fluid simulation at 60 FPS. (Browser-Based / Arcade)
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)