> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://studio.sketchpad.cc/sp/pad/view/ro.t30erS$58bd/rev.1451
 * 
 * authors: 
 *   Andrea Paraggio
 *   

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



float diameter;
int r, g, b;
int alfa;
float x, y;


void setup() {
    size(300,300);
    frameRate(25);
    background(#FFFFFF);
    noStroke();
    smooth();
}


void draw() {
    fill(#FFFFFF,20);
    rect(0,0,width,height);
    
    diameter = random(15,height);
    r = random(200,255);
    g = random(0,0);
    b = random(0,0);
    alfa = random(1,20);
    
    x = random(0,width);
    y = random(0,height);
    
    
    // stroke(220);
    // strokeWeight(10);
    // noFill();
    // point(x,y);
    
    ellipseMode(CENTER);
    
    for (int i=0; i<1; i++) {
        fill(r,g,b,alfa);
        float rnd = random(15,diameter);
        ellipse(x,y,rnd,rnd);
        ellipse(x,y,diameter,diameter);
    }
}