Setting up the Canvas


The canvas can be configured by adding the following commands at the start of the source code:

set FRAME_RATE to <number>
set CANVAS_WIDTH to <number>
set CANVAS_HEIGHT to <number>
set CANVAS_BACKGROUND to <color in hex or rgb code>


Example:

set FRAME_RATE to 24
set CANVAS_WIDTH to 500
set CANVAS_HEIGHT to 500
set CANVAS_BACKGROUND to "#DEDEDE"