Help, dynamic geometric pattern

hello, I’m bringing a project with an inlaid floor with various materials (wood, steel and marble). the inlay concept consists of dynamic geometric shapes that you go to turn in succession to each form to arrive at a different geometric shape from that of departure. looking in the forum I found a program already compiled for GH. my idea is to create on a surface a dynamic patten that evolves differently to each point assigned to the surface. I attach some pictures and the link of the forum discussion that I’m going to report. I would need a hand with regards to the compiling part of the program algorithm for which inserting the initial and final geometry creates a succession with n modules of the plot, starting with the geometries of the photos.