xxxxxxxxxx
25
let num = 14;
let y = 0;
let x = 100;
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
//y = 45;
fill(255);
stroke(255)
y = random(0,height)
//for (let i = 0; i < num - 1; i++) {
line(x,y, x, 1);
//y += 20;
//}
if(x>width){
x=50;
}
x= x + 1;
}