> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://studio.sketchpad.cc/sp/pad/view/ro.PYgaiEpT0Zl/rev.539
 * 
 * authors: 
 *   peehalho

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



int rot=0;
Boolean ps=false;
void setup(){
    rectMode(CENTER);
    size(500,400);
  }
        
        void draw(){
            fill(0,100);
            noStroke();
translate(width/2,height/2);

float x=sin(frameCount*.1)*90;

float y=cos(-frameCount*.1)*90;
rot+=1;
translate(x,y);
rotate(radians(rot*100));
rect(0,0,100,2);
if(ps){
noLoop();
}
}

void key(){
    if(key){
    ps=true;
    }
    }