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

Scratch paper

{{$t('general.by')}}
In this sketch: I create a grid of shapes, where each shape rotates around its center. The colors are generated randomly, resulting in a colorful pattern. The drawShape function is responsible for drawing a hexagon. The generateColors function generates a palette of random colors for the shapes. The generateShapes function places the shapes in a grid, assigns colors, and initializes their rotation angles. You can adjust the gridSize and rotationSpeed variables to change the complexity and speed of the pattern. This code creates an abstract and colorful composition.
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')}}