i create bezier curve using cubic() expression. now i want equall/predefined spce in this curve. before posting this question i did google there are many results but all of those are in programming which is difficult to understand. can anybody explain me how can i do this?

a simple idea is to first calculate total width of the curve then divide with number of steps or segments whatever we say, this is avg. for all those steps or if i predefined space i.e 20px on each then i have to increase steps as there will be shortage of steps on predefined space.

a simple idea is to first calculate total width of the curve then divide with number of steps or segments whatever we say, this is avg. for all those steps or if i predefined space i.e 20px on each then i have to increase steps as there will be shortage of steps on predefined space.

You can have infinite points, but a quick way is to get the distance of the line, and divide that by a certain amount that will make up the segments of that curve.

The divisor is what you would call the resolution. How smooth it is.

You can use log or ^ if you think you will need to scale a lot.

I have 5 segments and I got distance of the each segment that it (513.79, 243.38, 59.49, 129.07, 213.84) adding all these and dividing with 5 I have 231.92. This will be the distance of each segment but now my question is how to reposition all those segments.

R0J0hound will probably have the correct answer for you.

My dumb idea is first to calculate the total curve length and segment length. Then run the loop again for the same curve, calculating distance from the starting point along the way. Once the distance exceeds segment length, draw a dot and reset the distance counter.