/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.GNabWGe-OAE/rev.356
*
* authors:
* Sara Reis
* 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(800,150);
background(0,0,0);
strokeWeight(5);
frameRate(50);
}
void draw() {
stroke(random(900), random(450), random(230), 150);
line(i,0, random(500,width), height);
if (i<width) {
i++;
} else {
i=0;
}
}