A program that simulates the flocking behaviour of birds. Can be installed by downloading the file and running:
'(sudo) python setup.py install'
Can be run from the command line with:
'boids'
It can be configured with your own parameters by using a .yaml configuration file. The template can be seen in here, but files must include:
- dimension_limits: [-450, 300, 50, 600]
- velocity_limits: [0, -20.0, 10, 20.0]
- Limits: [-500, 1500]
- boid_count: 50
- move_to_middle_strength: 0.01
- alert_distance: 100
- formation_flying_distance: 10000
- formation_flying_strength: 0.125
- frames: 50
- interval: 5000
Default values are shown above for illustration
Configuration files are called using the -c command after 'boids' and adding the name of your configuration file.