xxxxxxxxxx
32
var grey= -255;
//color when mouse inside rect
var greyA=255;
//color when mouse outside rect
var greyB= 0;
//easing speed, between 0 and 1
var easing = 0.00001;
function setup() {
createCanvas(600, 600);
background(0);
noStroke();
frameRate(12);
}
function draw() {
//background(0);
fill(0, 50);
rect(0, 0, width, height);
// greyA+=(greyA-grey)*easing*100000000000000;
let m =random(1,6);
fill(399);
ellipse(random(width), random(height), m/2,m/2);
}