Swarm simulation

The simulation follows three simple rules that apply for all swarm members:

Please enable Java for an interactive construction (with Cinderella).