Boids: Bird Flocking Algorithm Simulation
Bird flocking program simulating the flocking behavior of birds following three algorithm rules:
- Separation: steer to avoid crowding neighbor birds.
- Alignment: steer towards the average local leader.
- Cohesion: steer towards average position of local birds.
sudo apt install libtbb-dev # install required tbb files sudo apt install install libglfw3-dev # install required glfw files
mkdir build # create a build directory
cd build # enter build directory
cmake ../ # generate build files
make # build the project
./Boids_ # run the program