glswarm is a c++ toolbox intended to facilitate the study of planar (and eventually 3D) swarming, flocking, collective motion, and cooperative control algorithms. glswarm is able to output avi frames and EPS figures.