Gradient, from square to pentagon

Hello,
I want to build a surface which will be divided into squares, that gradualy transform into pentagons as they get closer to the attractor point.
Can anybody help me with the script?

Here is a fun one from Pufferfish examples with lots of options if you are interested.


pfMorphPattensSurface.gh (24.0 KB)

1 Like