Project attempts to make a model of firefly flash synchronisation.
Each firefly has its own flashing period. Synchronisation is achieved with two period changing mechanisms:
- If some neighbour firefly flashes, firefly observing that flash subtracts some value from its period.
- If in the time between two flashes most of the neighboring fireflies didn't flash, firefly adds some value to its period.