A C++ implementation of Boids. Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behavior of birds. For information about the implementation see Reynolds web article and also Wikipedia: Boids.
The simulation has 4 modes:
- Birds
- Birds and obstacles
- Birds and predators
- Birds, predators and obstacles
Demonstration:
cd src
g++ Main.cpp Boid.cpp PosVec.cpp -o ../app -lglut -lGLU -lGL
../app