Given the following path:
How could these smooth curves be generated given that the user provides the points and that cubic bezier is used? How would the control points or bezier handles be solved for, or how could I compute these points using cubic bezier given the user points above (the red squares) ? Basically I have an algorithm to solve for a cubic bezier curve given 4 points but the user only provides the points below so there are no control points, how do I obtain these?
Thanks