> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://studio.sketchpad.cc/sp/pad/view/ro.gwHTbEguM8K/rev.425
 * 
 * authors: 
 *   Alex Filipek

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



// Pressing Control-R will render this sketch.

int i = 0; 
int deg=45;

void setup() {  // this is run once.   
    
    // set the background color
    background(255);
    
    // canvas size (Variable aren't evaluated. Integers only, please.)
    size(400, 400); 
      
    // smooth edges
    smooth();
    
    // limit the number of frames per second
    frameRate(30);
    
    // set the width of the line. 
    strokeWeight(15);
} 

void draw() {  // this is run repeatedly.  

background(255,255,255);

    // set the color
    stroke(0,0,200, 200);
    
    
    rad=radians(deg);
 ellipse(200+150*cos(rad),200+150*sin(rad),15,15);
 
 strokeWeight(40);
 stroke(255,255,0);
 ellipse(200,200,40,40);
 stroke(0,0,200, 200);
 strokeWeight(15);
 strokeWeight(5);
 stroke(0,0,0,100);
 ellipse(200+150*cos(rad)+30*cos(13*rad),200+150*sin(rad)+30*sin(13*rad),5,5);
 strokeWeight(15);
    
    deg++;

}