Press escape to exit fullscreen


Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Click capture
to take a screenshot

Firefly synchronisation

A simulation of the synchronisation of pulsating fireflies. Clicking the mouse adds new fireflies. They move according to a flowfield based on Daniel Shiffman's book 'The Nature of Code'. Synchronisation algorithm is inspired by work done by Steven Strogatz. By playing with the parameters you can change the time they need to sync up. I like the way they are now, because of the emerging waves.
{{$t('',["mouse, keyboard"])}}
{{$t('',["visualization, fractal, mouse"])}}
{{$t('general.learnMoreAbout')}} Creative Commons
  • {{v.title}}

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}