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

assignment_wk4_phillips_virtual_painting

{{$t('general.by')}}
The goal of my project was to create a virtual paintbrush and canvas using Processing. I wanted the user to be able to choose colors via keys and manipulate their mouse or touchpad to paint anything they wish.(also works well with Wacum pen/pad) I used an array to hold the brush colors and corresponding number keys to choose each value. The brush size is determined by the variable 'd' which controls the diameter of the ellipse which functions as the brush shape. If you want to start over hit BACKSPACE or DELETE. When you have finished your masterpiece hit 'S' to save a screenshot.
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')}}