function setup(){

createCanvas(500,500);

}

function draw(){

background(255);

strokeWeight(5);

line(100,100,100,400);

line(200,150,200,350);

line(300,200,300,300);

line(100,100,400,250);

line(100,400,400,250);

}
Variables
Preview