Processing Library – Fluid Simulation

main project page:

github repository:

processing forum

this library is made for simulating fluids in realtime. the simulation can be done in two ways:

  • a) on the CPU
  • b) on the GPU, which is about 10 to 20 times faster than on the CPU

the GPU-simulation happens on several shaders, that are loaded internally by the processing library GLGraphics.jar by andres colubri ( , or here so you need to install GLGraphics.jar too, if you want to instantiate the GPU fluid.

Demo Video of Fluid-library-examples, video made by andres on Vimeo.