Just watch. The particles are programmed to find the farthest particle and go towards it. When a particle touches another particle, it goes to a random place on the canvas.