Boids animation algorithm