Rotating a row of lines

Hi guys, I need some help with grasshopper.

I’m having trouble to rotating de segments of each branch. The idea is to rotate them incrementally. The way I’m rotating the segments make them split.
this is what is happening

and this is what I want to achieve

rotate (1.4 KB)


rotate (9.6 KB)

1 Like

thank you!!