xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
}
function drawTarget(x,y,w){
fill(0),
ellipse(x,y,w);
fill(255);
ellipse(x,y,w*.66);
fill(0);
ellipse(x,y,w*.33);
}
function mousePressed() {
drawTarget(mouseX, mouseY, random(10, 200));
}