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

Tag1

{{$t('general.by')}}
A game of tag, played by an adaptive population. Click to reset. Each member of the population has a mind made up of nested code; for example: (ifit (max (mod y (+ (min y (min (abs y) (iflte 0.252 y (* 0.0955 x) x))) y)) 0.252) (iflte y 0.005545 (iflte y (* y (min (* x x) 0.4767)) (* 0.05141 x) (* 0.1078 x)) 4.767)) Where x and y refer to the position of an important member (either one to pursue or run from, depending on the status of the member; the red one is it) in a local coordinate system. The output of the function is a single heading. These minds are generated at random.
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')}}