40 lines
936 B
Markdown
40 lines
936 B
Markdown
# Flow Field
|
|
|
|
Processing Perlin Noise Flow Field, inspired by a [sighack article](https://sighack.com/post/getting-creative-with-perlin-noise-fields).
|
|
|
|
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.
|
|
|
|
```powershell
|
|
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
|
|
```processing
|
|
sample00();
|
|
```
|
|
to
|
|
```processing
|
|
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.
|