/boids

Repo for 2- and 3D optimized versions of Reynolds' boids algorithms in SuperCollider, as well as an ND version.

Primary LanguageSuperColliderGNU General Public License v3.0GPL-3.0

Boids Classes

Repo for 2- and 3D optimized versions of Reynolds' boids algorithms. Also included in an N-dimensional implementation that is not optimized.

Dependencies

VectorSpace.

What does it look like?

Looks like this when projected in two dimensions:

Vis

Black wedges are the agents, blue circles are "targets", red circles are "obstacles".

To Do

  • Allow for different gravities in different dimensions (gravity or repulsion along a line)