We are excited to announce the open-source release of LiquidFun, a C++ 2D physics library based upon Box2D that includes particle-based fluid simulation.

LiquidFun makes it easier for developers to write games that include realistic fluid physics.  For example, this clip shows a circular body falling into a viscous fluid.
The LiquidFun library is written in platform independent C++ which makes it possible to use on any platform that has a C++ compiler.  We have provided a method to build the LiquidFun library, example applications, and unit tests for Android, Linux, OSX and Windows.

Game developers can use physics to drive new game mechanics and add realistic physics.  Designers can use this library to build beautiful fluid interactive experiences.  We’re excited about the possibilities, and want to hear from you about how we can make this even better!

Download the latest release from our github page and join our discussion list!

Several Googlers made LiquidFun possible: Alice Ching, Wolff Dobson, Dave Friedman, Vince Harron, Stewart Miles, Jason Sanmiya, Kentaro Suto, and Ali Tahiri.

By Stewart Miles, Google engineer