/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.ATVGBJdoHkH/rev.331
*
* authors:
* Patricia Gomes
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
/* @pjs preload="/static/uploaded_resources/p.10118/big.png"; */
float px;
float py;
float jump = 100;
void setup() {
// tamanho da tela
size(700, 400);
// cor de fundo
background = loadImage("/static/uploaded_resources/p.10118/big.png");
image (background, 0, 0, 700, 400);
frameRate(60);
}
void draw() {
noFill();
ellipseMode(CENTER);
sz = (frameCount % 200) / 200.0;
translate (width/2, height/2);
rotate (TWO_PI * sz);
ellipse (0, 0, 900 * sz, 650 * sz);
}