Adapting Daniel Shiffman's flow field following code ( natureofcode.com/book/chapter-6-autonomous-agents/ ) to build a generative drawing Processing sketch. Video 2 of 2.
The initial position is always random, but other four parameters should be set before execution: the drawing's maximum speed, the maximum flow field influence over the drawing, the angle of rotation of the flow field and the seed of the Perlin noise.
By changing these parameters, different drawings emerge. By running the sketch several times with the same parameters, several similar (but never equal) drawings can be generated.