> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://dflab.sketchpad.cc/sp/pad/view/ro.9z-bQzj3W3k/rev.227
 * 
 * authors: 
 *   aline carvalho

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



// This sketch builds on a prior work, "Madalena Reis - 02", created by Madalena Reis
// http://dflab.sketchpad.cc/sp/pad/view/ro.9vYUB-NRSpvwgo/rev.1014



int i=0; 
 
void setup() {  
 
    
    size(500,300);
 
   
    background(0); 
    
    
    strokeWeight(3);
 
    
    frameRate(30); 
    
}
 
void draw() { 
    
    stroke(random(338), random(205), random(20));
    
   line(i,0, i, height/2);
   
    stroke(random(38), random(105), random(240));
   line(15,0, i, height);
   
    stroke(random(100), random(750), random(255));
   line(200,0, i, height);
   
    stroke(random(219), random(86), random(217));
   line(450,0, i, height);
 
  
    if (i<width) { 
        i++;
    } else {
        i=0;
    }
    
    stroke(random(228), random(35), random(200), 50);
 
    
  
}