Boids: Bird Flocking Algorithm Simulation


Description

Bird flocking program simulating the flocking behavior of birds following three algorithm rules:

  1. Separation: steer to avoid crowding neighbor birds.
  2. Alignment: steer towards the average local leader.
  3. Cohesion: steer towards average position of local birds.

Prerequisites

Ubuntu:

sudo apt install libtbb-dev # install required tbb files
sudo apt install install libglfw3-dev # install required glfw files

Build Instructions:

mkdir build # create a build directory
cd build # enter build directory
cmake ../ # generate build files
make # build the project
./Boids_ # run the program