Convert TO bezierCurveTo()

So i am newbie in canvas and i am newbie in Bezier curve.

I make bezier Curve very very hard.

So i need a program or plugin or website that make me convert the two points that i draw to bezierCurveTo().

Like “https://cubic-bezier.com/” it make me change the point and convert it to cubic-bezier function for the Css

I need the same but to bezierCurveTo(). Really i need any help to do curves.

I know the px can’t be the same in all canvas but i need anything help to do put my ctx1, cty1, ctx2, cty2, x, y

And Thanks