Skip to content

Boids (steering)

Loading…

Steering-behaviours playground: 140 boids driven purely by composed Reynolds steering — separation, alignment and cohesion plus wander, cursor-flee and food-arrive, with neighbours from a spatial hash grid.

Controls: Move the cursor to scatter the flock

Source: examples/boids

Exercises: input, motion, spatial, steering, tick, transform.