/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.WGIZN718Lj3/rev.131
*
* authors:
* Inês Rego
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
// This sketch builds on a prior work, "AnaLeitão_02_Caracol Rendado", created by Ana
// http://dflab.sketchpad.cc/sp/pad/view/ro.9NCSEGeCWVSWkq/rev.131
// as instruções que estiverem dentro desta função setup()
// correm uma vez quando o programa arranca
void setup() {
// tamanho da tela
size(500, 250);
// cor de fundo
background(255);
frameRate(120);
}
// as instruções que estiverem dentro desta função draw
// são executadas a cada novo frame
void draw() {
noFill();
stroke (227,225,222)
ellipseMode(CENTER);
sz = (frameCount % 1000) / 100.0;
translate (width/3, height/3);
rotate (TWO_PI * sz);
ellipse (200, 200, 100 * sz, 100 * sz);
}