← Tools

Boids Flocking

Craig Reynolds' boids model creates flocking from three local steering rules: separation, alignment, and cohesion.

120 boids
Polarization and speed
Heading distribution
Model math
vi ← vi + wsSi + waAi + wcCi + η
xi ← xi + vi

This is the Boids flocking model. Each agent only reacts to nearby neighbors, but the group produces emergent flock structure.

Live metrics
Polarization 0.00
Avg speed 0.00
Avg neighbors 0.0
Frames 0