This is an implementation of Craig Reynolds' boids in Python. Part of coursework for the Basic Course in Programming 2, at Aalto uni.
Implements the separation, alignment and cohesion rules.
The code is not exactly pretty though.
The project report is included, but it is in Finnish.
Run
./boids.py --help
to see all options.
- PySide
The code uses Vec2d from PyGame, but this is included in the repo.