xxxxxxxxxx
14
var col = 0;
function setup() {
createCanvas(600, 400);
}
function draw() {
background(col);
col = map(mouseX, 0, 600, 255, 0);
stroke(255, 204, 0);
strokeWeight(4);
fill(255, 70, 100);
ellipse(mouseX, 200, 100, 100);
}