void setup() { size(800, 800); background(0); //noStroke(); noFill(); smooth(); makeImage(); } void saveImage() { String filename = "output/savedImage"+hour()+""+minute()+""+second()+".png"; save(filename); } void draw() { if (keyPressed) { if (key == 's') { saveImage(); } } if (mousePressed) { background(0); makeImage(); } } void makeImage() { drawCircle(width/2, height/2, 400, 1.25, 9); } void drawCircle(float x, float y, float radius, float dec, int level) { float tt = 126 * level/6.0; // fill(tt, 153); stroke(00,tt,tt*1.5, 50); strokeWeight(1); ellipse(x, y, radius*2, radius*2); if(level > 1) { level = level - 1; int num = int(random(2, 6)); for(int i=0; i