xxxxxxxxxx
function setup(){
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw() {
translate(mouseX, mouseY);
if (mouseIsPressed) {
if (mouseButton == LEFT) {
fill(1,2,80,89);
stroke(0, 255);
ellipse(0, 0, 90, 90);
fill(355,18,23,90);
stroke(0, 255);
ellipse(35, 80, 90, 90);
fill(17,78,13,90);
stroke(0, 255);
ellipse(89, 12, 90, 90);
}
}
if (mouseIsPressed) {
if(mouseButton == RIGHT) {
background(0);
}
}
}