xxxxxxxxxx
function setup() {
createCanvas(400, 400);
}
function draw() {
background(255,mouseX,mouseY);
frameRate(5)
// big circle
fill(random(255),random(255), random(255)); // default color
circle(200,200,200);
fill(8,0,0);// black
circle(155,155,45);
fill(8,0,0);// black
circle(250,155,45);
}
function mouseDragged(){
fill(152,11,178)
circle(275,198,20)
}
function mouseClicked(){
fill(random(255),random(255),random(255))
ellipse(mouseX,mouseY,20)
}//end