> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://dflab.sketchpad.cc/sp/pad/view/ro.PinKIro-XoW/rev.8
 * 
 * authors: 
 *   Manuel Menezes

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



int i=-400; 
 
void setup() {  
 
    
    size(500,300);
 
   
    background(255); 
    
    
    strokeWeight(10);

        frameRate (1000);
   
}
 
void draw() { 
    if (i<180) {
    stroke(random(50), random(225), random(50), (50));
    } else {
      stroke(random(228), random(35), random(20), (50));
    }
   line(random (100)+i,0, random (250)+i, height);
 
  
    if (i<width) { 
        i++;
    } else {
        i=0;
    }

 
    
  
}