Comment Re:The Rules of the Swarm... on slashdot. (Score 1) 166
I've recently been looking into boids. Such simple rules, but yet the behaviour is so complex.
I think the actual boid rules are:
Rule 1: Don't overcrowd near-by boids
Rule 2: Move closer to near-by boids
Rule 3: Move in the general direction of the other boids
At least they're the 3 rules I used to implement boids in Python, using PyGame.
It was great fun to write, and you can easily tweak the values to get quite different results.