A small project which implements boids and quadtrees in 2D using SFML in C++.
Note
On Linux VMs (WSL2 etc.) the program may hang, closing then relaunching the program may fix it
You will need:
And SFML dependencies: Linux (Ubuntu/Debian)
sudo apt install libopenal-dev libx11-dev libxrandr-dev libfreetype6-dev libgl1-mesa-dev libudev-dev
macOS (Homebrew)
brew install openal-soft freetype
Windows (vcpkg)
vcpkg install openal-soft freetype
# Clone the repository
git clone https://github.com/EllMoorby/Boids2D.git
cd Boids2D
# Build using cmake
cmake -B build && cmake --build buildLinux/macOS
./build/bin/Boids2D
Windows
.\build\bin\Boids2D.exe