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

Fractal Oscillating Rectangles

{{$t('general.by')}}
The idea: Start with a rectangle, and divide it in two - draw a line to mark the boundary. Now animate it: oscillate that line, and the proportions, back and forth. Now, recurse down into the two child rectangles, oscillating faster for more-nested rectangles. Controls: move the mouse up & down to damp the oscillation. Press a key to change the render: instead of drawing lines, draw a dot at the center of where the lines would be.
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')}}