Grasshopper pattern gerneration

Hi,

I’e got the start of a definition for a parametric triangle pattern. I’ve got it halfway figured out but I’m not sure how to add the triangles facing the other direction. Any tips on how to get the left facing triangle? I’ve drawn it in in rhino but It should be part of the deffiniton

Triangle-Pattern.gh (8.4 KB)

This looks promising.