/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://codigodelaimagen.sketchpad.cc/sp/pad/view/ro.qLTyZpKohC-/rev.97
*
* authors:
* pequenoestudio
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
void setup() { // inicialización
background(255);
size(500, 500);
// este es el comportamiento por defecto loop();
//noloop();
frameRate(10);
}
void draw() { // redibujado
// mientras se cumpla la condicion (boolean) repite el proceso o código entre llaves
background(255);
int contador=0;
int limite=100;
while(contador<limite){
strokeWeight(random(300));
stroke(random(255),50,20,20);
ellipse(random(500), random(500),50,50);
strokeWeight(random(2));
stroke(random(0), 0,0,200);
contador=contador+1;
}
}