How to loop this task?

Gravitational (13.5 KB)

So, there’s an attractor point which is still. There is another point which moves along the y axis but its movement is also influenced by the attractor point’s attraction.

I can do this movement once for a unit length. But I want to do it repeatedly and interpolate the different positions of the point to form a curve. How do I do that?

I have highlighted the area of the grasshopper file which I want to do repeatedly.


Look into plugins like Anemone

Judging from your other thread, you seem to be after an agent-/particle-based system. I’ve listed some options, available in Grasshopper, here.