A library by Andre Sier for the Processing and openFrameworks programming environments.
Last update, 20130225.

Simulation of autonomous agent behaviors in 2D, 3D.

Based on code by Craig Reynolds, Daniel Shiffman. Besides Cohesion, Separation, Alignment, adds multiple force points creating interesting targets in the simulation. See also ofxBoids, for openframeworks


Download boids version 0.0.7 (7) in .zip format.



Unzip and put the extracted boids folder into the libraries folder of your Processing sketches. Reference and examples are included in the boids folder.

Keywords. Boids, Flock, 2D, 3D, Simulation, Movement

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of boids is available at GitHub, and its repository can be browsed here.


Find a list of examples in the current distribution of boids, or have a look at them by following the links below.


Platform osx,windows,linux
Processing 1.5, 2.0
Dependencies none