I am working in grasshopper to display how a grid gets reshaped by charged points within it. My goal is to produce a field that attracts the surrounding points to its x,y location and not going past it - like this
however i can’t seem to get the points to stop once they reach the “charged point” What happens instead is the points of the grid move past it and continue to move away as the charge increases
Would anyone be able to help me collapse the points on the grid directly onto the charged point?
attached is the grasshopper file. thank you lines1.gh (13.0 KB)