void setup() { background(58, 15, 2); size(600, 600); } float degree= 0.0; int xPos, yPos; void draw() { pushMatrix(); translate(xPos, yPos); rotate(degree); ellipse(xPos/10, yPos/10, 60, 10); popMatrix(); degree +=0.5; } void mousePressed() { color c = color (25, 255, 0, 200); fill(c); ellipse(xPos, yPos, 50 , 50); c = color (random(255), 53, 7, 180); fill(c); ellipse(xPos, yPos, 60, 60 ); ellipse(xPos, yPos, 20, 20); xPos = mouseX; yPos = mouseY; } void keypressed() { if(key == 's') saveFrame("filename-####.png"); }