xxxxxxxxxx
17
function setup() {
createCanvas(600, 400);
}
function draw() {
background(0);
noStroke();
i=i++ - 2;
for(var i = 0; i<10; i++){
if(mouseX > (width/3*i) && mouseX < (width/3 * (i+1))){
fill(255);
rect(width/3*i,0,width/3,height);
}
}
}