I am trying to divide a curve gradually and my goal is to be able to control the gradient through the graph mapper component. For example I want to create a denser division at the start and end and a more loose division in the middle.

However, I want to be able to set a minimum distance, so the smallest distance between the points will be for example 100mm and it gradually increases.

Attached is a very basic way of dividing it with grasshopper so you can understand more clearly.

Your images show a good start but where is that GH file?

You could Shatter the curve at the ‘t’ values from Graph Mapper and display their lengths in the text panel, then modify Graph Mapper(and the number of points?) until your minimum distance (or is it length?). Either way, it depends on the curve length.

Sorry, I forgot to include it, but this was actually just a dummy to show what im trying to go for.
The actual script already kind of solves what I want to achieve, but depending how I manipulate the graph mapper component, it will not divide the curve from start to finish:

My apologies, and excuse me for asking but how could internalizing the curves help you, when the issue is that Im using a plugin that you have not installed? And I have internalized the input curves for the script. Im sorry if I am not understanding the issue here.

Wow, thank you for your quick thinking and very promising solution! I see that what I was missing was the abiltity to understand the mathematical problem behind it, so I am glad that you helped me out. As far as I can tell, your solution is doing exactly what I want and now im able to input the minimum spacing and the number of divisions. Thats a big plus! Thank you very much!

It’s often possible to substitute standard GH components for Pufferfish components. @magicteddy’s code has no Pufferfish components. Unfortunately, he didn’t internalize his curve either.

It’s tough to learn anything from broken code.

P.S.@magicteddy, I created my own curve but your code doesn’t like it. Broken code is useless!

P.P.S. Looks like I needed to adjust the minimum slider ‘L0’ for my shorter curve… But I see that the points are not evenly spaced even though my curve is symmetrical?

Thank you for your extended interest to solve the issue. For me, the problem is solved (as marked in the thread). Since the curve in my image is not symmetrical, it doesnt have a symmetrical division. However, @magicteddy 's solution provided exactly what I need. Changing the Graph mapper to a ‘Gaussian graph’ did divide it so that the start and end of the curve are divided with the minimum spacing input and then gradually increase towards the middle of the curve.