
void setup() {
size(400, 400);
background(255);
frameRate(15);
}
void draw() {
for (int i=0; i<width; i+=2) {
stroke(randomRgbColor());
strokeWeight(15);
line(i, height*0.25, i, height*0.75);
}
}
color randomRgbColor() {
color rgbColor =color(random(255), random(255), random(255), 30);
return rgbColor;
}