Equation for bezier curve

90 Views Asked by At

I have a cubic bezier curve ; whose 1st anchor-point is (a,b) 1st control-point is (c,d) , 2nd control point is (e,f) and 2nd anchor-point is ( g,h );

Now I want an equation in x and y format; so that with the value of x I can calculate the y value of a point on the curve..

How to do this? How the equation will be?

Thanks in advance..