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.

 

espbook

 

Comments




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

 

Banner


C23 ISO Standard Is Here But You Probably Won't Read It
06/11/2024

At last ISO C23 has been published, but at $250 you probably aren't going to read it. Can we really tolerate this sort of profiteering on the work of others? This is worse than academic publishing!



Copilot Improves Code Quality
27/11/2024

Findings from GitHub show that code authored with Copilot has increased functionality and improved readability, is of better quality, and receives higher approval rates than code authored without it.

 [ ... ]


More News

Last Updated ( Thursday, 12 December 2013 )