Attractor point wont work

So I wanted my hexagon grid to be along a curved (2D) surface and i wanted to scale the hexagons according to an attractor point on the surface.

My attractor point has no influence on the scale factor. Help.

hexagon organic maybe.gh (24.5 KB)
hexagon roof.3dm (59.7 KB)

Check this out.

hexagon organic maybe_re.gh (22.6 KB)

1 Like

Thank you so much!

Hi.
The script works perfectly.
I wanted to know the purpose of using flip for the hexagon grid?