{{$t('user.suspension_warning')}}
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

Glitchy CPU

{{$t('general.by')}}
Imagine a custom 8bit CPU that is designed to draw art. The CPU has 256 bytes of memory, two registers (PC and SP) and two addressing modes. Unfortunately the main memory is very volatile, causing bits to randomly flip. When the bits change - so does the program. Watch the literal results of a computer program glitching.
Click on the glitch modes at the bottom. In manual mode, click on the memory bits themselves to toggle them yourself. Use the list of programs on the right to load different base programs.
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')}}