Phaser.io rendered AI tech demo.
Controls and Parametrization: The First slider controls the herd size and the second slider controls targeting. { Full -> Target = Mouse Pointer. Zero -> Target = Center }
Future: Energy, Hunger, Food Sources, Species, Predators, Map, Pathfinding, Traits, etc.
Online Demo http://opeious.github.io/life.html
References:
http://www.red3d.com/cwr/boids/