xxxxxxxxxx
19
function setup() {
createCanvas(400, 400);
// noStroke();
}
function draw() {
rectMode(CORNER);
stroke(0);
fill(0);
rect(0, 0, width/2, height);
fill(255);
rect(width/2, 0, width/2, height);
rectMode(CENTER);
noStroke();
fill(200);
rect(width/2-100, height/2, 50, 50);
rect(width/2+100, height/2, 50, 50);
}