Code viewer for World: P5 Raw tutorial : Basics
 


//---- normal P5 code -------------------------------------------------------


function setup()       
{
    createCanvas(windowWidth,windowHeight);
    background(51);
}


function draw()             
{
    fill(20,250,20);
    rect(50,50,20,40);
}