let color=[]; let d=[]; function setup(){ createCanvas(600,600); rectMode(CENTER); background(1200); noStroke(); for(let i=0;i<19;i++){ color[i]=random(355); } for(let i=0;i<13;i++){ d[i]=random(100,200); } for(let i=0;i<3;i++){ let index=i*3; fill(color[index],color[index+1],color[index+2]); ellipse(random(width),random(height),d[i],d[i]); } } function draw(){ }