Fireflies are insects who get their name from their ability to light up.

Different species of fireflies produce different flashing light patterns.

These blinking patterns are a sort of signal to help fireflies find potential mates.

Some species of fireflies are able to synchronize their flashing patterns.

At first, different fireflies will flash their own lights at different times and different frequencies (shown in the first animation), but then gradually begin to pick up on each others behavior until eventually all the fireflies begin to flash their lights together at the same time (shown in the second animation).

This phenomenon can be explained by something called phase synchronization.

Mathematica code:

R[n_] := (SeedRandom[n]; RandomReal[])

G[g_, f_, t_] :=
Graphics[
Table[
{If[f*Round[R[n*t]] == 0, Yellow, Black],
Opacity[If[g == 0, 1, .5 (1 + Sin[2 Pi ((2/3)*.05*t + R[n]*.4)])]],
Disk[
{Cos[19 (.05*t + n)*2 Pi/75],
Cos[3 (.05*t + n)*2 Pi/75]},
 .005*Cos[(.05*t + n)*2 Pi/75] + .01]},
{n, 1, 75}],
PlotRange -> 1.3, ImageSize -> 500, Background -> Black]

Manipulate[
G[0, 1, t],
{t, 1, 20, 1}]

Manipulate[
G[1, 0, t],
{t, 1, 60, 1}]
 
  1. cottoncandytommotheninja reblogged this from intothecontinuum
  2. suchsweet-nothingg reblogged this from loveyourchaos
  3. bocadebuho reblogged this from anengineersaspect
  4. anengineersaspect reblogged this from intothecontinuum
  5. thepandanotes reblogged this from intothecontinuum
  6. wonderland-for-death reblogged this from intothecontinuum
  7. catalyst226 reblogged this from intothecontinuum
  8. peonygoodchild reblogged this from loveyourchaos
  9. chemicalimprints reblogged this from loveyourchaos
  10. bonquiqueef reblogged this from loveyourchaos
  11. jaakaapissaan-se-fosforiloisto reblogged this from schizophrengeek
  12. schizophrengeek reblogged this from meersyaf
  13. meersyaf reblogged this from imall4frogs
  14. weisee123 reblogged this from loveyourchaos
  15. saythajames reblogged this from siweon
  16. siweon reblogged this from loveyourchaos
  17. unicorn-dust reblogged this from loveyourchaos
  18. r0manticburps reblogged this from alanateal
  19. maivideo reblogged this from intothecontinuum
  20. shomei reblogged this from loveyourchaos
  21. dancearoundmolly reblogged this from loveyourchaos
  22. theyodelinggoat reblogged this from urbaneowl
  23. flamshiz reblogged this from loveyourchaos
  24. alanateal reblogged this from kisstheblood and added:
    I miss the summers where there were a million different fireflies :(
  25. adrianrguez reblogged this from loveyourchaos
  26. sweetssomething reblogged this from wolfdancer
  27. tyb reblogged this from intothecontinuum
  28. serendipity-do-da reblogged this from loveyourchaos
  29. fleur-de-linds reblogged this from loveyourchaos
  30. jacqkao reblogged this from loveyourchaos
  31. essequamviderinunc reblogged this from loveyourchaos and added:
    Fireflies are insects who get their name from their ability to light up. Different species of fireflies produce...