surface strips manipulation

Hi everyone!

I have a little problem with a definition I am working on.

It divides a surface into strips and then manipulates these strips according to the distance from an attactor (a curve in the atteched file).

In order to do this I use points on the lines that defines the strips. Moving these points modifies the strips.

The definition works fine as long as the attractor is one geometry. I cannot figure out to make it work when the attactor geometries are two; then the strips of the surface should modify only according to the closest (meaning that the points should move according to their distance from the closest attractor geometry).

I guess I should work with the path mapper or with the branches of the tree containing the points through which I build the curves and the strips ... but I cannot figure out how.

Any help will be welcome.

Thank you.

Giorgio