Boids Flocking
Emergent collective motion · alignment + cohesion + separation · Click to scare flock
FLOCK RULES
Separation
1.5
Alignment
1.0
Cohesion
1.0
Vision radius
60
Max speed
3
POPULATION
Boid count
120
↺ Respawn Flock
🦅 Toggle Predator
STATS
Boids
120
Avg speed
—
Order param ψ
—
Craig Reynolds (1987):
Three local rules:
Separation
— avoid crowding neighbors
Alignment
— steer toward avg heading
Cohesion
— move toward avg position
Order parameter ψ = |⟨v̂⟩| measures global alignment (1=perfect flock, 0=random).