(startX,startY) is the starting point coordinate,
(endX,endY) is the ending point coordinate,
and (bezierX,bezierY) is the control point which governs the curvature of the curve,
think in this manner, if this point is farther away, then the curve is more steep..
if this point is closer then the curve is less steep.