flow field
Real time Flow Field
To go with my recent post Flow Fields in Processing here is a real time version of my flow field. This one is without easing so sudden changes in direction are a bit abrupt. Smaller objects move quicker than larger ones.
Click on the black square below to begin – then press any key to see the flow field which governs the movement.
All the best,
Leafcutter John.
Flow Fields in Processing
I’m fast becoming obsessed with Processing much to the detriment of everything and everyone in my life. Actually my partner is very encouraging and she likes these images nearly as much as I do. I first became aware of flow fields through the work of flight404 who has made some beautiful things in Processing. He describes using Perlin Noise to create a flow field but he’s not very detailed in his description of how to do it or what a flow field actually is. I spent yesterday trying to work it out and I think I came up with a solution which matches pretty closely the method I found about 10 mins ago HERE.
In the following images Perlin Noise is used to create a array/grid of angles which affect any objects which are directly above them. The grid looks like this (the angles change every frame):

As you can see the area of the screen is split into rows and columns creating a grid. Each grid cell has a direction (derived from Perlin Noise). An object placed on the grid can read the direction directly below it and move in that direction. See my Real time Flow Field.
The images below are from my experiments with a more advanced version of the system where objects turn gradually according to their mass which diminishes out over time. The coloured examples map colour to size or angle (click to see them full size).
Social Links
Leafcutterjoh.com
Recent Tweets
-
@tassosstevens its 132 kingsland road!
-
I like how Gilbert & George use the bus. Dont forget to come to music hackspace tonight peeps!
-
Thursday May 23rd @ Troyganic Café, 132 Kingsland Road, LONDON, E2 8DY, read it here: http://t.co/NrI2VTmcAZ
-
Playing free show tonight @ Music Hackspace with Blanca Regina. Troyganic Café FREE 132 Kingsland Road E2 8DY http://t.co/4QjnHssgoW
-
@JonnyVeeArgh it's the Wrongamin, a light controlled synth I designed - quite easy to build - Info on my website http://t.co/xWj7Cntxvm
Recent Posts
- Thursday May 23rd @ Troyganic Café, 132 Kingsland Road, LONDON, E2 8DY
- Vietnam Day 3 Field recording with Richard Eigner and Workshop with Vietnamese Musicians
- Hanoi Score workshop and Scooter ride including Vietnam’s most controversial Fruit! (Day 2)
- Arrived in Hanoi! (Day 1)
- I’ll be playing in Vietnam, Norway, and Germany This month.
Categories
- Building Things
- Crow
- Electronics
- feather study
- field recording
- Forester
- Graphic Scores
- images
- Live Shows
- LSystem
- m-log
- Max/MSP
- Micro-Song
- Music!
- nails
- Polar Bear
- Processing
- Radio
- remix
- Site News
- Software News
- The Making of the 5th Leafcutter Album
- Things Thought
- Uncategorized
- video
- video tutorial
- Weekly DIY Music Thing
Recent Comments
- Aleisha on Vietnam Day 3 Field recording with Richard Eigner and Workshop with Vietnamese Musicians
- armorgames.com on Vietnam Day 3 Field recording with Richard Eigner and Workshop with Vietnamese Musicians
- CDY on Acoustic Guitar – Completed Instrument
- Philip McHugh on Acoustic Guitar – Neck and Fretboard construction
- Carl on Why don’t DAWs let you do this?


