Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I want to try to emulate what this application can do:

alt text

Given the red round dots (from the mouse) it is able to solve for the bezier handles given that the tension of the curve is set to 0.6. How could I solve for the bezier handles? Is there some way I could do this with the slope or perpendicular of the previous and next curve?

Thanks

*I should also add that each point is equadistant meaning point i + 1 is the distance to point i or point i + 2.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

From the graphic, it appears that the handles at a given point $p_k$ are parallel to the line through $p_{k-1}$ and $p_{k+1}$ and that the lengths of the handles at every point are equal. I suspect that the length of the handles is determined by the "tension" that you mention.

share|improve this answer
    
Thanks :)...... –  Johnny Aug 6 '10 at 2:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.