xxxxxxxxxx
32
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
stroke('black');
strokeWeight(10);
point(50, 50);
strokeWeight(2);
fill(255, 0, 0, 150)
rect (200, 200, 100, 50);
rectMode(CENTER);
fill('orange')
square (100, 100, 50);
line(0, 400, 50, 350);
fill(255, 0, 160);
circle (300, 300, 50);
line(0, 400, 50, 350);
fill('yellow');
ellipse (320, 80, 50, 100);
line(0, 400, 50, 350);
fill('lime');
quad (100, 330, 175, 300, 175, 390, 100, 350);
line(0, 400, 50, 350);
}