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


Important Conference Results
17/04/2024

The SIGBOVIK conference has just finished and its proceedings can be downloaded, but only at your peril. You might never see computer science in the same way ever again.



Rust Twice As Productive As C++
03/04/2024

Google director of engineering, Lars Bergstrom, gave a talk at the recent Rust Nation UK conference and claimed that Rust was twice as productive as C++. Given how good Google is at C++, this is quite [ ... ]


More News

Last Updated ( Thursday, 12 December 2013 )