ofxCurlNoise

Posted on February 26, 2015

Curl noise is a faster alternative to simulation for animating fluids, developed by Bridson et al. It's a procedural method based on simplex noise that gives a good control over the fluid.

ofxCurlNoise is an addon that offers the possibility to create a particle system and apply a curl noise to it, producing nice fluid-like movements. The code for the curl noise comes from dli/flow.

The motion of the particles and the curl noise are calculated with a compute shader, ensuring a fast computation. Since this addon uses compute shaders and OpenGL 4.3, it is only compatible with openFrameworks 0.9.0.

There are still a lot of things to add to this addon, for instance, solid boundaries or some kind of wind effect.

Here is a demo of the addon:

Curl noise screenshot 1
Curl noise screenshot 2