> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://codigodelaimagen.sketchpad.cc/sp/pad/view/ro.TTtYQe8xGQa/rev.1663
 * 
 * authors: 
 *   manuelinfanterobles

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



void setup() {  // inicialización
 size(300, 300); 
 smooth();
 
} 
    float angulo=PI;

void draw() {  // redibujado  
  background(255);
    angulo+=0.011;
    float senoAngulo=sin(angulo);
int limiteCrecimiento=200;
    float         valorActualCrecimiento=limiteCrecimiento+limiteCrecimiento*senoAngulo;
    rectMode(CENTER);
    rect(width/2,height/2, valorActualCrecimiento, valorActualCrecimiento);
         fill(200,200,0,80); 
        frameRate(400);
    println("Vueltas dadas:"+frameCount);
             ellipseMode(CENTER);
    
ellipse (150,150,random(150,210),200);
  
ellipse (150,150,random(150),200);
  
ellipse (150,150,random(100),200);
    


        fill(200,20,255,random(120));
        rectMode(CENTER);
rect (150,150,170,170);
line(150,0,150,random(110,90));
line(150,300,150,random(150,280));

}