https://github.com/vince-fugnitto/bird-flocking-sim-tbb
Bird Flocking Algorithm Simulation
https://github.com/vince-fugnitto/bird-flocking-sim-tbb
cpp glfw open-gl tbb
Last synced: 2 months ago
JSON representation
Bird Flocking Algorithm Simulation
- Host: GitHub
- URL: https://github.com/vince-fugnitto/bird-flocking-sim-tbb
- Owner: vince-fugnitto
- Created: 2017-10-18T15:53:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T15:11:58.000Z (over 5 years ago)
- Last Synced: 2025-01-23T16:34:38.386Z (4 months ago)
- Topics: cpp, glfw, open-gl, tbb
- Language: C++
- Homepage:
- Size: 358 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```console
sudo apt install libtbb-dev # install required tbb files
sudo apt install install libglfw3-dev # install required glfw files
```---
#### Build Instructions:
```console
mkdir build # create a build directory
``````console
cd build # enter build directory
`````` console
cmake ../ # generate build files
``````console
make # build the project
``````console
./Boids_ # run the program
```