Flocking in pure Fusion! Should work on any platform.
I dug up an example I made 5 years ago (still HERE) and optimised it. Now you can add up to 1000 boids! Removed the separation code and replaced it with physics collisions. Cleaned up a lot of unnecessary stuff.
Based on the pseudocode found here: http://www.vergenet.net/~conrad/boids/pseudocode.html