Draw line Loop algorithm ( tree shape ?)

hi, i want to draw tree like shape curve to make 2d pattern

still now i just make standard point and 8way vector(45 degree) to make line

i want to make line drawing Loop algorithm using anemone plugin (or something else recommend)

now i got problem in random component every random component got same value in loop system(?)

rule 1. point draw two line (in degree 45n)~{i did not use grid or rectangle component because of changing degree ( ex)15n, 30*n …) }

rule 2. line stopped when meet other line ~ (i will delete duplicate ~ something component , )

sorry for my english ㅠㅠ

0316.gh (18.2 KB)