xxxxxxxxxx
var a = 0;
var b = 0;
var c = 0;
var d = 0;
var e = 0;
function setup() {
createCanvas(300,500);
background(255);
}
/*
function mousePressed(){
loop();
}
function mouseReleased(){
noLoop();
}*/
function draw() {
if (mouseIsPressed){
fill(38, random(190), 144);
noStroke();
a = a + random (14);
b = b + random (14);
c = c + random (14)
d = d + random (14);
e = e + random (14);
if (a > height) {a = 0;}
if (b > height) {b = 0;}
if (c > height) {c = 0;}
if (d > height) {d = 0;}
if (e > height) {e = 0;}
ellipse (random(300), a,14, 14);
ellipse (random(300), b, 14, 14);
ellipse (random(300), c, 14, 14);
ellipse (random(300), d, 14, 14);
ellipse (random(300), e, 14, 14);}
}