PixelFlow Library

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 (http://glgraphics.sourceforge.net , or here http://codeanticode.wordpress.com/) 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.