> show canvas only <


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

 * 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; 

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

void draw() {  // this is run repeatedly. 
    if (i == 0) {
        translate(100,100);
        pushMatrix();
    }
    strokeWeight(2 - i/5);
    stroke(100, 0, 220 - i);
    line(20, 20, -200, -100);    
    rotate(4);
    translate(0, -3);
    pushMatrix();
    i = i +1;
}