Question
[Math] Finding points along a bezier curve
This isn't specific to ActionScript.
I have the 4 points that make up a http://en.wikipedia.org/wiki/B%C3%A9zier_curve. I want to:
1) Determine the length of the bezier curve
2) Determine a point along the bezier curve based on a distance from the start point
3) Determine the angle/direction/orientation of a point along the bezier curve - basically like a motion guide does.
I can determine a point along the bezier curve based on a percentage, using http://pupius.co.uk/download/articles/bezier_curves/ or AS3 fl.motion.BezierSegment, but I haven't solved any of the above 3.
If any math whiz out there has any advice, I'd greatly appreciate it. Thanks!
I have the 4 points that make up a http://en.wikipedia.org/wiki/B%C3%A9zier_curve. I want to:
1) Determine the length of the bezier curve
2) Determine a point along the bezier curve based on a distance from the start point
3) Determine the angle/direction/orientation of a point along the bezier curve - basically like a motion guide does.
I can determine a point along the bezier curve based on a percentage, using http://pupius.co.uk/download/articles/bezier_curves/ or AS3 fl.motion.BezierSegment, but I haven't solved any of the above 3.
If any math whiz out there has any advice, I'd greatly appreciate it. Thanks!
