Labs · Autonomous Agents

Flow Field Following

Flow Field Following simulation

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

Evolved into Ant Colony & Pheromone Trails, Physarum Slime Mould.