// Dartmouth CS 2, Winter 2009, Chris Bailey-Kellogg // Notes 8 | Sketch 1 void draw() { fadeAway(); drawRandomEllipse(); } // Paint a transparent black rectangle over window void fadeAway() { noStroke(); fill(0,5); rect(0,0,width,height); } // Draw an ellipse of random color and size at random position void drawRandomEllipse() { noStroke(); fill(random(255),random(255),random(255)); ellipse(random(width),random(height),random(20),random(20)); }