Triangles Along Circle

How can I achieve a form like in 1st picture and then somehow transform it into one in 2nd picture? Since I am very new to grasshopper any advice or comment is appreciated!

This is the current form that I have
deformed (12.3 KB)

Managed to get this far but no clue how I can achieve the 2nd image definition. (14.5 KB)