xxxxxxxxxx
18
function setup() {
createCanvas(400, 400);
background(220);
}
function draw() {
if (mouseX < width/2){
strokeWeight(1);
}
else if (mouseX < (width/2)*2) {
strokeWeight(10);
}
rect(200, 200, 100, 170);
fill(255, 19, 167);
}