Simulates a simple 2D liquid using Box2D and a drawing trick.
The following two articles explain how it works:
There are two versions in this repository: a slow CPU-only Java
implementation and a faster GPU-powered WebGL version (under
webgl/
).
- http://skeeto.github.io/fun-liquid/ (Java Applet)
- http://skeeto.github.io/fun-liquid/webgl/ (WebGL)