An example project, creating Boids in Python using The Python Arcade Library entities.
Boids are a way to represent a complex system using a set of simple rules. This project uses the following basic rules.
Alignment: steer towards the average heading of local flockmates
Seperation: steer to avoid crowding local flockmates
Cohesion: steer to move towards the average position (center of mass) of local flockmates
- Install the required packages
pip3 install -r requirements.txt
- Run main
python3 main.py