Google's LiquidFun For Fluid Simulation
Written by Ian Elliot   
Thursday, 12 December 2013

Google has announced the open source release of LiquidFun, a2D physics engine that can be used on any platform with a C++ compiler, including Android, Linux, OSX and Windows.

Based on Box2D, LiquidFun features particle-based fluid simulation and makes it easier to write games that include realistic fluid physics. It also includes all of the standard 2D dynamics that Box2D supports so you can mix the types of simulation you are running.

 

fluidtest

 

 

Of course the star of the show is the particle-based fluid flow. For example this video clip below shows off its capabilities and I think you'll agree that its pretty impressive.

 

 

The LiquidFun library is written in platform independent C++ which makes it possible to use on any platform that has a C++ compiler.  In open sourcing it  Google has also provided documentation, including a Programmer's Guide and an API reference; a method to build the LiquidFun library, example applications, and unit tests for Android, Linux, OSX and Windows.

Currently at version 0.9.0, you can download the code from GitHub.

 

How long before someone feeds it though emscripten and we have JavaScript in browser version? 

 

More Information

LiquidFun: a rigid-body physics library with fluid simulation

LiquidFun project page on GitHub

Download LiquidFun release 0.9.0

Related Articles

Getting Started with Box2D in JavaScript

JavaScript Physics Playground       

Tearable Cloth In JavaScript

PhysicsJS - Physics In Pure JavaScript

 

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


White House Urges Memory Safe Software
29/02/2024

The White House is urging developers to adopt memory safe programming languages, suggesting Rust would be a safer choice than C or C++. 



Android 15 Developer Preview Updated
25/03/2024

Google has released Android 15 Developer Preview 2 with changes including better handling of automatic language switching and updates for OpenJDK 17.


More News

Last Updated ( Thursday, 12 December 2013 )