From swarms to summer camps : a theoretical