/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.uIUZW3QCR0e/rev.1014
*
* authors:
* Madalena Reis
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
int i=0;
void setup() {
size(500,300);
background(255);
strokeWeight(30);
frameRate(100);
}
void draw() {
stroke(random(228), random(35), random(200), 50);
line(i,0, i, height);
if (i<width) {
i++;
} else {
i=0;
}
stroke(random(228), random(35), random(200), 50);
}