Skip to content

constantdupuis/FlowField

Repository files navigation

Flow Field

Processing Perlin Noise Flow Field, inspired by a sighack article.

All code is licensed under the MIT license. See the LICENSE file for more details.

Install

Install Processing 3.x if you have not already. Clone this repo into the Processing sketchbook folder.

git clone https://github.com/constantdupuis/FlowField.git

Open FlowField.pde with the Processing IDE.

Run

The FlowField project comes with few samples. In FlowField.pde, change the sample number at line 8.

From

sample00(); 

to

sample08(); 

So far, there are 12 samples, from 0 to 11.

Hit the run button, and look.

You'll get the string "All layers drawn :-)" in Processing console when all layers are drawn.

At any moment you can press the 's' key to save a screenshot of the sketch into the captures folder.