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


Kotlin Ktor Improves Client-Server Support
04/11/2024

Kotlin Ktor 3 is now available with better performance and improvements including support for server-sent events and CSRF (Cross-Site Request Forgery) protection.



JetBrains Improves Kubernetes Support In IDE Upgrades
12/11/2024

JetBrains has improved its IDEs with features to suggest the logical structure of code, to streamline the debugging experience for Kubernetes applications, and provide comprehensive cluster-wide Kuber [ ... ]


More News

Last Updated ( Thursday, 12 December 2013 )