hello, i am building a code to draw a bezier curve.
before i start, i need some technique which will be necessary in my coding.
Bezier curve is dependent of control points. when i change the coordinate of a control point, the bezier will change correspondingly.
The main problem is, how can i edit the control point by drag it from the original coordinate to another coordinate? (An array will store the coordinate of control points).