Labs · Autonomous Agents
Flow Field Following
A flow field is a grid of vectors covering the canvas. Each vehicle looks up the cell it is in and uses that arrow as its desired velocity. Thousands of vehicles following it trace out the hidden currents, like iron filings around a magnet.
The field can come from Perlin noise (evolving over time), or from a vortex or sink centred on your mouse.
Turn on "Show field" to see the vectors, then switch to "Vortex (mouse)" and move around.
Controls
- Field
- Vehicles
- Grid resolution (px)
- Noise scale
- Field evolution speed
- Max speed
- Max force
- Show field
- Trails
Evolved into Ant Colony & Pheromone Trails, Physarum Slime Mould.