Dear experts

I’ve got a problem that seems so simple yet it’s stumping me. I’m trying to divide a curve into a series of points, but where the points are closer and then further apart depending on where I need it. I know it’s possible to do this using a graph mapper, but is it possible to do this using a custom graph curve that I’ve drawn myself? I’ve been trying to figure out whether I can extract Y values from my custom graph curve and use those, but I just can’t figure out the next step. Mass Addition and then shifting the next value for ‘t’ a bit further on? At some point, the ‘x’ points are no longer aligning.

I’m attaching the grasshopper definition, but I appreciate it’s a mess - it’s a work in progress. Perhaps more useful is this sketch below:

Riyadh Curve worker.gh (31.8 KB)