Triangular kinetic facade

this is a kinetic facade, the triangular element opens and closes and the triangular element rotates. i want to repeat the triangular shape in the place of the circles, and this element should be repeated through a full wall. Can you help me building on the code I attached..Thank you.

final.gh (18.7 KB)

final (1).3dm (85.1 KB)