Press escape to exit fullscreen

{{sketch.instructions}}

CC {{sketch.licenseObject.short}}

Archived Sketch

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

View Source Code

Capture Screenshot

magnet-ink

{{$t('general.by')}}
Using the P3D renderer and an ArrayList. 35000 colored particles are created on screen (in HSB colorMode). Each particle has a different mass (depending on color, but its not really really color-dependant) and so each reacts differently to the attraction of your mouse (with mouse clicked). Each particle has a different color, given by the position of the two indicators (and proportional to mass) at the moment it's created. Progressive friction in space is also applied (look at the two white lines at left and right of the screen). When the lines are on the top section the friction is low, incre
We recovered an unsaved version of this sketch. Please review your changes below.

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

  • {{co.title}}
    {{$t('sketch.mode-pjs')}} {{$t('general.learnMore')}}
    Select mode or a template
    {{liveCodeLink}}
    • {{l.url.substr(l.url.lastIndexOf('/') + 1)}}
    {{$t('sketch.layoutDescription')}}

    {{k.category}}
    {{k.label}}
    {{k.description}}

    {{$t('sketch.seeMoreShortcuts')}}

    Versions are only kept for 7 days.
    Join Plus+ to keep versions indefinitely!

    {{$t('general.joinPlus')}}


    {{$t('sketch.versionsSummarized')}}