xxxxxxxxxx
27
let halfleft
let halfright
let clicks = 0
function setup() {
createCanvas(400, 400);
halfleft = 0
halfright = 0
}
function draw() {
//background(220);
noStroke()
}
function mousePressed() {
background(225)
if(mouseX < 200){
fill(0)
rect(0,0,200,400)
}
if(mouseX > 200){
fill("black")
rect(200,0,200,400)
}
}