ctx.beginPath(); ctx.bezierCurveTo(50, 100, 180, 10, 20, 10); ctx.stroke();