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

Hexagonal Lattice Type 1 Gradient Mapping v1.0

{{$t('general.by')}}
Using a very sloppy fill method (really needs sorting out!) this sketch fills the stage using Hex Type 1 tessellating shapes, mapping the shape of each color to a gradient, based on it's X position (note: the sketch is rotated 270 degrees, so the mapping looks like it's on the Y axis) You may notice an odd edge effect on the shapes, this is due to the awful, awful fill method I'm using, which fails to stop a shape being drawn more than once. I probably need to go read up on flood fill algorithms, although this case isn't quite the same, shape tiling within a specific bounding box would b
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')}}