This is a Haxe implementation of the Boids flocking algorithm.
Assuming you've installed Lime and OpenFL, you can run the boids simulation with lime test <platform>
where <platform>
is one of the targets listed in lime help
.
Currently, the boids fly toward the center, then leave the frame. Coming soon: speed limitations and boundary constraints. Until then, enjoy a couple seconds of boid flocking.