A fancy-ish implementation in Processing of Craig Reynold's Boids program, with camera control and 3d modeling of the boids
Processing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Boid.pde first commit Jul 6, 2012
FlockingBoids.pde updated readme Jul 6, 2012
Model.pde first commit Jul 6, 2012
Observer.pde first commit Jul 6, 2012
README.md fixed readme to reflect out-of-date version of processing Jul 30, 2013
Zone.pde first commit Jul 6, 2012

README.md

Flocking Boids

A fancy implementation in Processing of Craig Reynolds' Boids program, simulating the flocking behavior of birds. Check the video link to see what it looks like.

Note: This is implemented in Processing 1.5. It won't work properly on Processing 2.0. At some point I will get around to fixing this but for now use the old one to get it working.

Boids on vimeo

Dependencies

To run the code, you need Processing with the following libraries installed:

Usage

Press the spacebar twice to toggle between first person and third person viewing mode. While in first person mode only (the default), you can fly the camera around the scene by click-dragging the mouse, and zoom with two finger-scroll (mac) or the equivalent. While in third person mode, pressing different numbered keys will trigger third-person presets moving the camera around the scene in various ways.