/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.PaKVhmJSfUm/rev.98
*
* authors:
* Santa Tamia
* 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, 500);
// cor de fundo
background(60,-60,-8);
frameRate(69);
}
// as instruções que estiverem dentro desta função draw
// são executadas a cada novo frame
void draw() {
noFill();
ellipseMode(CENTER);
sz = (frameCount % 1000) / 100.0;
translate (width/10, height/10);
rotate (TWO_PI * sz);
arc (50, 55, 60, 50, 0, PI/2, 100 * sz, 100 * sz);
rect (200, 200, 100 * sz, 100 * sz);
}