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


Supersimple - Deep Insights From Data
02/04/2024

Announcing $2.2 Million in pre-seed funding, the Estonian startup Supersimple has launched an AI-native data analytics platform which combines a semantic data modeling layer with the ability to answer [ ... ]



Excel Spreadsheet - A Joke?
01/04/2024

No this isn't an April Fool's although in places it seems like one. It's a true account of how Williams Racing has suffered through reliance on an overgrown and outdated Microsoft Excel spreadsheet, l [ ... ]


More News

Last Updated ( Thursday, 12 December 2013 )