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

Vertex Modulation with Perlin Noise

{{$t('general.by')}}
I'm working on solidifying my understanding of OOP and trying out the use of Perlin Noise. Both of these concepts were learned in Shiffman's book on learning processing. I was trying to figure out if it's better to store the vertex points of each shape in a 2d array so I can keep the x and y locations separate, or if I should just store the 4 points in a regular array with a length of 8, and read every other one as an x coordinate or y coordinate. I ended up using a one dimensional array because it seemed easier to manipulate them. I got code to work using a 2d array as well, but the numbe
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')}}