How can I create the cubic bezier curve to (6,2) using control points (2,3.8) and (3.8,2)?
What I have tried:
I considered all the points as the control points P0=(2,3.8) P2=(6,2) P1=(3.8,2)
Consider the below equation: ∑ pi Bi,n (u)
where B is the basis function.
and
Bi,n(u)=nCiui(1-u)n-i
SO I derived the equation:
=P0B0,2(u)+P1B1,2(u)+P2B2,2(u)
But I am not able to get anything using this equation. ANy Help?
Edit:
if I consider only two control points i.e P0=(2,3.8) and P1=(3.8,2) then what is the use of point (6,2) and how we determine how much curly the path is?