function setup() {
createCanvas(400, 400);
background(0);
}
function draw() {
stroke(255);
strokeWeight(1);
draw_line(200,400,PI,80);
noLoop();
function draw_line(x,y,angle,lenght)
{
push();
translate(x,y);
rotate(angle);
line(0,0,0,lenght);
if(lenght > 0)
draw_line(0,lenght,PI/10,lenght-10);
draw_line(0,lenght,-PI/10,lenght-10);
pop();