guys. New to geometric nodes here.

I have the following objects, which are positioned manually by me

enter image description here

Basically I am trying to figure out a way such that the distance between the objects increases/decreases as u go down the array, and it should depend on the index of the object in the array, for example:

d= i^2/2 where i is the index and d is the distance from the start point.

And it has to be parameterised using geometric nodes so that I can change the no of objects and the distance equation

I was able to create a normal array using geometric nodes but have no idea how to take the index of each element in the array to use in the equation

enter image description here

It would be great if you can refer me some links or provide a solution.

  • $\begingroup$ This is probably simpler than you think.. what variation do you want in your equations, though? Making those anything you like via the GN interface would be a bit tricky.. $\endgroup$
    – Robin Betts
    Commented Feb 21, 2023 at 19:11

1 Answer 1


This is very simple indeed:


  • $\begingroup$ thanks. I was trying a similar thing without the accumulate field node and was stuck for a long time. Its simpler than I thought it would be $\endgroup$
    – fasith
    Commented Feb 22, 2023 at 9:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .