Using ofCurve and ofDrawCurve functions

I did some experiments with ofCurve and ofDrawCurve functions.My problem is, I understand they draw from point x1,y1 to x2,y2 , no problem with that. But I couldn’t understand how x0,y0 and x3,y3 shape the curve. Can anyone explain it please?

Hi there!

The other two points are control points. You can play with an online example here.

If you want to start to know the math behind, you can start with the Wiki.

Thanks for your answer. Sorry for my very late reply,A minute ago I noticed that you answered my question :).