/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://studio.sketchpad.cc/sp/pad/view/ro.olkRXYSaWe-/rev.83
*
* authors:
*
*
*
* Andor Salga
*
*
*
*
*
*
*
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
/*
FSOSS 2010
Andor Salga
Robo Boogie
*/
void setup(){
size(250, 250);
}
void draw(){
background(100);
fill(33, 33, 200);
// body and head
rect(50, 50, 40, 60);
rect(60, 25, 20, 20);
// legs
rect(50, 115, 10, 50);
rect(80, 115, 10, 50);
// arms
pushMatrix();
translate(40, 55);
rotate(frameCount/20.0f);
rect(-5, -5, 10, 40);
popMatrix();
/* for(int i=0; i < 100;i++)
{
pushMatrix();
translate(100+i, 55+i);
rotate(frameCount/1.0f+i);
rect(-5, -5, 10, 40);
popMatrix();
}*/
}