This C++ application uses the Simple and Fast Multimedia Library (SFML) to simulate flocking behaviour. The simulation involves the movement of autonomous agents, or "boids", that follow simple rules to create cohesie and visually appealing group behaviour.
- Flocking Algorithm: The simulation implements a basic flocking algorithm, where individual agents follow three main rules: separation, alignment and cohesion.
- SFML Graphics: The application utilizes SFML for graphical rendering, providing an interactive and visually appealing representation of the flocking simulation.
- C++ compiler
- SFML 2.6 or later (SFML Installation Guide)
- Clone the repository
git clone https://github.com/ignabelitzky/boids-simulation.git
cd boids-simulation
- Build the project using the Makefile
make
- Run the executable
./boids
- Press the close button or Alt+F4 to exit the simulation
- Customize simulation parameters with the sliders, such as speed and forces for alignment, cohesion and separation.
This project is licensed under the GNU General Public License v3.0. You can find the full text of the license here LICENSE.