LiquidFunProcessing Save

Box2D/LiquidFun Library for Processing.

Project README

LiquidFunProcessing

LiquidFunProcessing

Box2D/LiquidFun Library for Processing.

Particle based fluid simulation and rigid body simulation using jBox2D/LiquidFun 2.3.0+.

References

Tutorials, Readings


Download


LiquidFunProcessing


Videos


Examples

The library includes a lot of examples from the original jbox2d testbed.
For a quick start, each sketch has a couple of default mouse-actions:

  • LMB: drag rigid bodies / particles
  • LMB + SHIFT: shoot a bullet
  • MMB: spawn particles
  • RMB: destroy particles

... as well as some key-mapping, e.g. to display the debug-draw, restart, pause/resume.
Of course, each of those can be altered, overwritten or disabled/removed.


Rendermodes

Default renderer, no postprocessing

particles are rendered as point-sprites and rigid bodies are rendered using the PShape tree structure.

Default


Default renderer + Postprocessing

LiquidFx adds some liquid effect and fake shading. PixelFlow needs to be installed to use it.

LiquidFx


Debug Draw

using the box2d world for rendering and basic processing draw calls.

Debug


Resources


Installation, Processing IDE

  • Download Processing 3

  • Install liquidFunProcessing via the Library Manager.

  • Or manually, unzip and put the extracted LiquidFunProcessing folder into the libraries folder of your Processing sketches. Reference and examples are included in the LiquidFunProcessing folder.

  • Also make sure you have the latest graphics card driver installed!

Platforms

Windows, Linux, MacOSX


Dependencies, to run the examples

Open Source Agenda is not affiliated with "LiquidFunProcessing" Project. README Source: diwi/LiquidFunProcessing
Stars
54
Open Issues
1
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating