Bird Flocking Simulator

Using three parameters (attract, repel and follow) on a group of mobile entities. The distance between them determines their action. Entities are rendered to a <canvas> element (supported by most modern browsers).