Simulation of flocking boids.
Usage
Type ~ (tilde/backtick key) to toggle the config sidebar. You can adjust different sliders to tweak values that control the boids' flocking behavior.
Example Presets
Birds #1 Birds #2 Fish
-------- -------- ----
Max Speed: 4 4 4
Perc. Radius: 50 50 50
Max Force: 0.1 0.1 0.1
Alignment: 1 1.9 2
Cohesion: 1 1.1 1.7
Separation: 1 1.1 1
Resources
Mr. Doob - Three.js
Daniel Shiffman - The Nature of Code
Daniel Shiffman - live coding video Flocking Simulation
Craig Reynolds - Boids