I want to try to emulate what this application can do:
alt text http://img530.imageshack.us/img530/5756/bezier.png
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 equidistant meaning point $i + 1$ is the distance to point $i$ or point $i + 2$.