Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/skeeto/fun-liquid

Physics engine liquid in Java.
https://github.com/skeeto/fun-liquid

Last synced: 4 days ago
JSON representation

Physics engine liquid in Java.

Awesome Lists containing this project

README

        

# Liquid Simulation

Simulates a simple 2D liquid using Box2D and a drawing trick.

![](http://nullprogram.s3.amazonaws.com/liquid/liquid.gif)

The following two articles explain how it works:

* [Cartoon Liquid Simulation](http://nullprogram.com/blog/2013/06/26/)
* [Liquid Simulation in WebGL](http://nullprogram.com/blog/2012/02/03/)

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)