This is an implementation of the boids algorithm using the pseudocode found here.
The boids (NYC speak for "birds") will move based on the following three rules:
These three rules result in a simulation of flocking behavior in birds. Increase the number of boids to see bigger flocks!
Boids will move back into view on window / screen resize.