function setup() {
createCanvas(600, 600);
fill(0,0,0)
rect(200,200,200,200);
}
function draw() {
stroke(0,0,0)
line(random(300, 600), 0, 600, 600);
line(random(300, 0), 600, 0, 0);
stroke(255,255,255)
line(random(400, 300), 400, 400, 200);
line(random(200, 300), 200, 200, 400);
strokeWeight(1);
}