How to perform an artificial swarm