xxxxxxxxxx
26
function setup() {
createCanvas(600, 400);
// background
background(255, 255, 0);
}
function draw() {
// ellipse
noStroke();
fill(0, 255, 255);
ellipse(mouseX, mouseY, 50, 50);
// rectangle
// fill(255,0,255);
// rect(mouseX,mouseY,50,50);
}
function mousePressed() {
background(255, 255, 0);
}