xxxxxxxxxx
56
function setup() {
createCanvas(400, 400);
rectMode(CENTER)
}
function draw() {
background(220);
background("purple")
strokeWeight(12)
//these lines are helpful for debugging
stroke("white")
line(200,0,200,400)
line(0,200,400,200)
//circle(100,100,100)
stroke("white")
fill("red")
circle(100,100,100)
fill("brown")
square(200,200,100)
noFill()
stroke("yellow")
ellipse(100,300,100,50)
stroke("orange")
triangle(380, 150, 300, 20, 230, 100);
stroke("green")
point(350,350);
point(390,390);
point(310,310);
point(270,270);
}