xxxxxxxxxx
30
var x = 30;
var y = 30;
var r;
function setup() {
createCanvas(400, 400);
background(220);
}
function draw() {
fill(0,0,255,60);
noStroke();
ellipse(mouseX,mouseY,10);
fill(0,255,255,60);
noStroke();
ellipse(mouseX+5,mouseY+5,10)
// if (x>=y){
// x += random([4,-4]);
// }else if (y>=x){
// y += random([-4,4]);
// } else if ( x<0 || x> width){
// x = y;
// } else if (y<0||y>height){
// y=x;
// }
}