Hi Mathematician of the world,

I am trying to do a basic plot of bezier curve and my curve does not seem to fit all the 4 points by using a bezier curve. It only fits the first point and end point. I guess that is what wikipedia says. If i would like to fit all points, what do i have to do? :

(9,6)

(11,9)

(13,9)

(14,13)

I have used formulas from website such as

I am not sure what is missing here but apparently I am not doing something right here.p1 + (p2 - p1) * t = q1

p2 + (p3 - p2) * t = q2

p3 + (p4 - p3) * t = q3

q1 + (q2 - q1) * t = r1

q2 + (q3 - q2) * t = r2

p(x) = r1 + (r2 - r1) * t

p(y) = r1 + (r2 - r1) * t

Where

0 < t < 1 : Step of 0.1

p1 = position of point number 1, in this case 9

p2 = position of point number 2, in this case 11

Here I derived all of q1, q2, q3. (Total # of points for each q is 11. Therefore there is 33 points.)

Then i derived all of r1 & r2 (Total # of points for each r is 11. Therefore there is 22 points.

and then p(x), p(y) (Total # of points for each r is 11. Therefore there is 11 points.

Then i tried this formula, which is the same.

and I still couldn't get the real curvy points.

Hope to hear from experts!!!