FLOCK
REYNOLDS BOIDS • 3 RULES
LIVE
120
BOIDS
60
FPS
How it works
Each triangle steers using 3 forces — plus mouse evasion.
Separation — avoid crowding
Alignment — match heading
Cohesion — move to center
Flee — escape cursor
Move cursor to scatter • Click to burst
Move your cursor — the flock will flee
FLOCK CONTROLS
⏸ Pause
💥 Scatter
+ 25 Boids
↺ Reset
Count
120
Number of boids
Separation
1.6
Avoid crowding
Alignment
1.0
Match heading
Cohesion
1.0
Center seeking
Flee
2.4
Mouse evasion
Speed
3.2
Max velocity
Perception
72
Neighbor radius
Separation Dist
26
Crowd radius
Flee Radius
135
Danger zone
Agility
0.09
Steering force
Trail
22%
Motion blur
Drag sliders live
Hover = repel • Click = burst
Wrap edges
Motion trails
Show links
Cursor predator
SPACE pause • R reset • S scatter