/Terraces

For those who want to see how I achieved the effect shown in the Not Your Usual Perlin Flow Field on Reddit. Copying this code directly is not advisable.

Primary LanguageProcessingMIT LicenseMIT

Terraces

For those who want to see how I achieved the effect shown in the Not Your Usual Perlin Flow Field on Reddit. Copying this code directly is not advisable.

Requires ffmpeg and Video Export library to save videos. Program can be run without in Processing.

Don't bother looking for runtime controls; there aren't any.

Licensed under MIT license. Do whatever you want with this other than completely stealing it and passing it off as your own without modification.

Here's what you should expect when running the code:

BestFlow-converted.mp4

The damping value can be changed to any value, depending on how much velocity the particles should retain. This example is with damping = 0.7

07Damping-converted.mp4

And for good measure, damping = 0.9

09Damping-converted.mp4

Here's one where the damping value varies along the x-axis from 0 to 1. You can see the left pretty much follows the isolines of the noiseMap:

VariedDamping-converted.mp4