Group of shape -> transform list

Hi there! I have a list of points, the vertices from a group of shape (6 squares in this case)

This list of points is equivalent to:
first shape + list of transformation (in order to work with instances).
I used Homography to achieve this result.

My question is: it’s possible to do the same with different shapes? Ok I guess I can do the same trick with triangles (I’ll try later) but what if I have hexagons?

HomogPoint.v4p (17.5 kB)