And I’ve also looked at many more, for example this video:

But I still don’t understand how to manipulate a 1D list that I know relates to a corresponding 2D list. Also, I might be confused how a list of lists differs from a 2D array or a tree…

I have a list of points. I want another list, with the exact same layout or structure, that instead contains the distance to the end of the lines they’re on.

Now, to accomplish this, I have another list of curves. The point list is sorted that there’s a number of points per curve.

I’m at a complete loss, despite watching all of the above and more, at how to accomplish this.

This seems to be a super clean solution, thank you very much!

“Graft” is the key that I was missing. I see what it does, and I get the metaphor, but I don’t fully understand the how yet, but I will get there.

Can I ask a follow-up question?

I want to place rectangles on all of those points now, with their X-size influenced by the distance we just calculated. Is it correct to just push the list of points into the rectangle, and, just for a simplified example, the list of distances into the X-size, because both lists are formatted the same?