A Boid/Flocking simulation for Code In Place 2025 Final Project written in Python
- pygame-ce v2.5.5
- pygame-gui v0.6.14
Clone the repository
git clone git@github.com:Grydr/flocking-simulation.git
cd flocking-simulationIf you have all the dependencies installed
python main.pyor if you have uv installed
uv sync
source .venv/bin/activate
python main.pyor
uv run main.py- change boids shape
- implement trailing line
- color 1 random boids as the main character(?)
@The Coding Train videos on flocking algorithm
@Ben Eater for inspiring this little project
@Craig Reynolds as the developer of this algorithm
