Skip to main content


Python implementation of the boids algorithm.

Heiko Nolte
To use install Python 2.x and PyGame API. Implements more or less the boids algorithm introduced by Conrad Parker under Use left mouse button to set a target the boids have to chase. The right mouse button sets an obstacle the boids are trying to avoid. The file boidViewMod ist the entrypoint to the boid demo. It's used to render the boids on screen using the PyGame API. The file boidSwarmMod implements the boids algorithm. In vector2DMod a 2 dimensional vector with basic operations is implemented.



Home Page


PyBoids 1.0 — 1 Aug, 2010 account Comments