It’s my first time posting question here, so I hope the description is clear enough.
I am trying to create randomly distributed poles that are pushed away from a few attractor points. Now I have made those poles, but I can’t get them to move away from the attractor point. All the other posts I found are about getting those populated points pulled closer to the attractor points.
the you can move each point along its vector, and change each vector length based on functions of your choice, graph-based remapping, whatever you prefere
here is a graph-based remapping on -uncapped- distance from the attractor point:
by the way: you can get repulsion by reversing an attractor vector so any thread you might find on this same topic will be applicable also to your case
Thank you! This is amazing! I tried to add more attractor points, but it seems to be only responsive to one point. What’s the way to make those random points respond to several attractor point in this situation? My another question is if I don’t use the graph mapper, is there other simpler way to adjust those random points’ distance to the attractor. Thank you very much for your time!
it depends, how do you want your points to be influenced by the attractors?
each point is influenced by all the attractor points? (their effect sum up together?)
each point is influenced only by the closest attractor point?
yes, you can bypass the graph mapper and just connect its input and output links together (1),
or you can just set the graph mapper to linear (2)
Thank you! maybe each point is influenced only by the closest attractor point.
Here I tried to create a grid of points and have those points react to the attractor point, but instead of reacting to the point as individual point, the how row of points react to attractor point together. If I create a rectangular grid of points, they will always react as group of points rather than individual points?
It works! the next problem I am facing is, once I have grid points react to the attractor point, they move beyond the rectangular boundary. How do I keep them within a rectangle?
I am trying to apply this logic to my script with a single attractor curve. I have a trimmed surface with random points. I want the points to move away from the attractor curve and become more dense toward the outer control curve but not exceed the outer curve.