xxxxxxxxxx
27
function setup() {
createCanvas(1500, 500);
}
function draw() {
background(0)
stroke(255)
noFill()
for( let i = 0; i < 100; i++ ){
let x1 = random(width/2,width)
let y1 = 0
let x2 = random(width/2,width)
let y2 = height
line(x1,y1,x2,y2)
}
noLoop()
}
function mousePressed() {
redraw();
}