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

Luhn's CA

{{$t('general.by')}}
Luhn's is one of the little algorithms most present in our everyday life. It's used to calculate the control digits of credit cards and check them in online transactions. This script explores some aesthetical properties of Luhn's algorithm using it in a process wherein each cell adquires a new state (represented by an integer in the range 0-9 mapped to a gray value) based on Luhn's checksum of the states of its neightbours. A nicer pure canvas version here: http://414c45.net/canvaslab/luhn/
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')}}