Here's some links to Boids examples.

http://www.navgen.com/3d_boids/

Here's a nice one with a Java applet to show the effect..
http://www.red3d.com/cwr/boids/