Flocking

boids 0
click: drop an obstacle · drag: steer the predator · right-click: clear obstacles
1200
1.4
1.0
0.9
48
2.4
Reynolds' three rules: steer away from neighbours that are too close, match their average heading, move toward their centre. Space pause · R reset