Boids
- April 28, 2023
- TorchFire Games
Boids This is my implementation of the famous "Boids" flocking algorithm, which was developed by Craig Reynolds in 1986 (link to Craig's website). The boids--which happen to be fish in this implementation--follow 3 relatively simple rules: Separation (avoid collisions)Alignment (match velocity of local boids)Cohesion (move towards the center of local flock Yet out of these simple rules, complex a…