Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


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

share|cite|improve this question

closed as unclear what you're asking by ᴡᴏʀᴅs, Batominovski, graydad, Solid Snake, Clayton Aug 18 '15 at 1:50

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

With no image, it's impossible to know what the (now-deleted) user was asking about. – ᴡᴏʀᴅs Aug 17 '15 at 23:12
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|cite|improve this answer
Thanks :)...... – Johnny Aug 6 '10 at 2:10