xxxxxxxxxx
function setup() {
createCanvas(600, 600); // Canvas size
background(100);
}
function draw() {
stroke(0); // Black line color
// lets draw a rectangle here
fill("#FF0000")
rect(150, 200, 100, 100);
// lets draw a triangle here
fill(" #B0E2FF")
triangle(150, 200, 250, 200, 200, 150);
// lets draw a rectangle here
fill(" #008000")
rect(185, 250, 30, 50);
// lets draw circles here
fill(" #FFFF00")
ellipse(170, 225, 30, 30);
ellipse(230, 225, 30, 30);
noLoop();
}