context.bezierCurveTo(control1X, control1Y, control2X, control2Y, endingX, endingY)
Draws a cubic Bezier curve starting at the current pen location to a given ending coordinate. Another 2 given control coordinates determine the shape (curviness) of the curve.
<!doctype html>
<html>...