JS1k 2010 demo — by Bri Lance

Two swarms of fireflies chase each other around. The same flocking algorithm is used on individual fireflies and on the swarms themselves.