Quantcast
Channel: Question and Answer » curves
Viewing all articles
Browse latest Browse all 18

Points evenly spaced along a bezier curve

$
0
0

I have looked around for a while and I can’t find a solution to this problem.
Let’s say I have a cubic bezier curve (defined by 4 points) and I want to get a set of points that are spaced evenly along the curve. Think of placing a text along a curve for an example.

Now the problem is that if I input t (interpolation value from 0-1) with a constant increment the points are not evenly spaced. The distance along the curve is smaller when the curve makes a turn and longer when the curve is straight.

So how do I place points evenly along a bezier curve?


Viewing all articles
Browse latest Browse all 18

Trending Articles