jmasterx
jmasterx

Reputation: 54193

How could this be done?

Given the following path: alt text http://img198.imageshack.us/img198/3692/curve.png

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

Upvotes: 1

Views: 686

Answers (2)

Related Questions