xxxxxxxxxx
66
function setup() {
createCanvas(200, 200);
//White Rectangle #1
stroke (0);
fill(255);
rect (0,0, 45, 50);
//Black Horizonal Stoke #1
stroke (0);
fill(0);
rect (0,50, 46, 20);
//White Rectangle #2
stroke (0);
fill(255);
rect (0,64, 46,80);
//Black Horizontal Stoke #3
stroke (0);
fill(0);
rect (0,135, 200, 6);
//Blue Rectangle
stroke (0);
fill(0, 0, 255);
rect (0,142, 46, 60);
//Black Vertical Stroke #1
stroke (0);
fill(0);
rect (46,0, 6, 200);
//Red Square
stroke (0);
fill(255,0, 0);
rect (53,0, 200, 135);
//White Rectangle #3
stroke (0);
fill(255);
rect (53,142, 121,80);
//Black Vertical Stroke #2
stroke (0);
fill(0);
rect (175,140, 6, 80);
//White Rectangle #3
stroke (0);
fill(255);
rect (182,142, 40,30);
//Yellow Rectangle
stroke (0);
fill(255, 255, 0);
rect (182,165, 30,80);
//Black Vertical Stroke #3
stroke (0);
fill(0);
rect (180,165, 30, 10);
}