This contribution is essentially a concise tutorial of Swarm by Benedikt Stefansson
Press here to dowload the source of the simulation