This is a method for artificially replicating the actions of fireflies in nature.. each firefly flashes at a random interval, however when it senses another flashing firefly, it attempts to align it’s flashing to its neighbours’. The emergent behaviour from a system like this is all of the fireflies in a swarm all flashing synchronously. A very simple and elegant example of replicated Swarm Intelligence!