Point attraction from random generation

Hi! so im trying to manipulate random points that have been generated within a box to an attractor point. I’m pretty hopeless at it, i tried to use the attractor point component but i had no success, and then i came up with the attached concoction that just scaled/multiplied them evenly throughout… i added a little scribble to show what i’m sort of looking to create.
Any help would be much appreciated!

attempt attractor for random points.gh (10.9 KB)





RandomAttractor.gh (18.1 KB)

If you want fixed number of points:



RandomAttractor.gh (20.3 KB)
1 Like

awesome, this is perfect! thanks