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

TinyCA E4791

{{$t('general.by')}}
This is a 1D cellular automaton. Each line evolves deterministically from the next by the application of a rule, which considers the state of a pixel, and the states of the 2 pixels to each side (with wraparound). The code here can work with 2^32 different rules, but to fit into the 200 chars limit, I had to pick just one, which is defined by the string "E4791". You can see various different CA behaviours by running the code with different hex strings... E4971 doesn't seem to settle down into a predicatable pattern, but there is obvious structure.
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')}}