xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw() {
background(255,0);
noStroke();
rectMode(CENTER);
translate(mouseX, mouseY);
if (mouseIsPressed) {
if (mouseButton == LEFT)
ellipse(0, 0, 20, 20);
fill(133, 19, 6,255)
}
if (mouseIsPressed) {
if (mouseButton == RIGHT)
ellipse (0, 0, 30, 30);
fill(100, random (100))
}
}