Boids is an artificial life program which simulates the flocking behaviour of birds
- bring together the boids when they approach each other (flock)
Python 3.9.15 required
- numpy 1.23.5
- p5 0.8.1
git clone https://github.com/gzordrai/Boids.git
cd ./Boids
python ./src/main.py
config.py
boidNumber = 30 # Number of boids
height = 500 # Height of the window
maxSpeed = 5 # Boid max speed
perception = 100 # Boid perception
width = 500 # Width of the window
Put a star and follow me 🙃