I'm playing with geometry nodes here and I'm trying to create a way to kinda script the position of each point... for that i'm thinking of creating an attribute that would work as index, something that I could use later for a function based distribution...
As a simple example: I would like to take every point and add its index to its x position, while setting the y and z position to 0, just to create a straight line.
Is there any way I could do something like that ?