xxxxxxxxxx
24
var r = 240;
var g = 240;
var b = 240;
function setup() {
createCanvas(400, 400);
background(0);
// fill(r,g,b);
}
function draw() {
// background(0);
strokeWeight(0);
fill(r,g,b);
ellipse(mouseX,mouseY,20);
}
function mousePressed() {
r = random(100,250);
g = random(100,250);
b = random(100,250);
}