Finally !
Bezier segment manipulation using Corona SDK. This is a sample of how to manipulate a cubic bezier segment. Touch the screen to draw the four points (anchor1,handle1,handle2,anchor2) then manipulate the curve.
I cleaned up the code as much as I could. It is not optimized. Feel free to make changes, amplifications and updates and share with the rest of us.
You can download the code at Bezier Code
I tried it on iOS and Android devices.
Let me know what you think.
You can also find the code on the Code Exchange
Enjoy.
Carlos
[import]uid: 24 topic_id: 4409 reply_id: 304409[/import]