Skip to content

gzordrai/Boids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boids

Boids is an artificial life program which simulates the flocking behaviour of birds

Current missing elements

  • bring together the boids when they approach each other (flock)

Demo

Dependencies

Python 3.9.15 required

  • numpy 1.23.5
  • p5 0.8.1

Example usage

git clone https://github.com/gzordrai/Boids.git
cd ./Boids
python ./src/main.py

Config

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

Help

Put a star and follow me 🙃

Releases

No releases published

Packages

No packages published

Languages