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

AreaSeeking Polygon

{{$t('general.by')}}
Another polygon sketch, spin off of something i'm working on right now... As the title says, area seeking polygon, through steering beaviour integration for every vertex of the polygon. 3 kind of forces acting there (area seeking, minimum distance between vertex and sides, maximum length of sides). Steering behaviour inside simple euler integration of forces works great to get the system way more stable (There is no maxforce, maxvelocity, or damping here). You can stop the demo mode, pause the simulation, go forward/backward (history array of vertex position up to 1000), and edit polygon.
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')}}