{{sketch.instructions}}

A fork of {{sketch.parentSketch.title}} by {{sketch.parentUser.fullname}}.

Archived Sketch

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

View Source Code

Click record or press 'R'
to start/stop recording (max. 10 secs)

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.
e.g. "mouse, keyboard"
e.g. "visualization, fractal, mouse"
learn more about Creative Commons
  • {{v.title}}

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

  • {{co.title}}