xxxxxxxxxx
21
let r, g, b, size;
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
}
function draw() {
noStroke();
fill(r, g, b, 100);
circle(mouseX, mouseY, size);
r = random(50, 255);
g = random(255);
b = random(255);
size = random(1, 40);
}
/*
function mousePressed(){
size = random(1,60);
}
*/