Hi, I’m working on creating a rectangular grid of points and have them be manipulable and moveable relative to each other. What I’m envisioning is that there would be a number of “anchor points”(say 5 points along the perimeter of the grid) that when I move them, the rest of the grid points will move according to their distance from the anchor points. So, if I move an anchor point, the farther a grid point is from that anchor, the less it will move. And the function would work through the list of points and evaluate them with some expression (like 1/x) and create vectors to move them.

I’ve started, but my two main problems are that the “anchor” or attractor points I’m using are set points, and I want them to actually be points from the grid. Also, when I have more than one attractor point, the farther away they are, the points start to bunch together instead of spreading apart like I want them to.

Can anybody help or offer advice?

My first attempts:

The expression in the evaluate component is 1/x+y