Macron
let x=0,y=255;
function setup(){
createCanvas(windowWidth,windowHeight);
}
function draw(){
y =map(mouseY,0,height,0,255);
background(255-y);
fill(y);
rect(width/4,height/2,width/2,height/10)
}let x=0,y=255;
function setup(){
createCanvas(windowWidth,windowHeight);
}
function draw(){
y =map(mouseY,0,height,0,255);
background(255-y);
fill(y);
rect(width/4,height/2,width/2,height/10)
}