Does the example in:
Examples > Topics > Curves > ArcLengthParameterization
…do what you are wanting? It is segment based.
If not, there are ways to use a wrapper on lerp() to find a segment from a list, then solve for that segment. This is the general approach:
https://forum.processing.org/two/discussion/25310/list-based-interpolations/p1
1 Like