Boids Emergent Flocking
Craig Reynolds (1986) — three simple rules, one emergent flock
Separation
1.50
Alignment
1.00
Cohesion
1.00
Perception radius
60px
Boid count
150
Speed
2.0
Add Predator
Reset
Click canvas to scatter the flock. Three rules: avoid neighbors (separation), steer toward avg heading (alignment), move toward avg position (cohesion).