I made this application as a test and educational one.
Craig W. Reynolds created the original flocking algorithm.
Large part of the boid's code is a porting of the work of Daniel Shiffman in Processing.
Please read my blog posts at http://malubu.wordpress.com/ to know more about this app.
Source code on Github: https://github.com/manhluong/Various/tree/master/FlockLab