xxxxxxxxxx
45
function setup() {
createCanvas(800, 800);
background(255);
// fill(250,80,10);
// noStroke();
// rect(0,0,width/2,height);
// fill(0,180,200);
// ellipse(width/2,height/2,windowWidth/2,windowHeight/2)
// noStroke();
// fill(244,200,0)
// beginShape();
// vertex(width/2,height/2-100);
// vertex(width/2+100,height/2);
// vertex(width/2,height/2+100);
// vertex(width/2-100,height/2);
// endShape();
noStroke()
fill(255,0,0)
rect(170,0,width,600)
fill(0,100,255)
rect(0,600,170,height)
fill('yellow')
rect(600,700,width,height)
stroke(0);
strokeWeight(20)
line(170,0,170,height)
line(0,600,800,600)
line(600,600,600,height)
strokeWeight(40)
line(0,200,160,200)
line(610,700,width,700)
}
function draw() {
}