Flow field
A grid of directions, slowly changing, and the pointer stirs a vortex into it. Each agent reads the flow where it will be in lookAhead seconds, and heads that way at full speed: a current, a wind, crowds following a map. The field is any function: here a grid, looked up in a few lines.
- velocity
- desired velocity
- steering force