ctx.beginPath(); ctx.moveTo(0,50); ctx.lineTo(0, 15); ctx.quadraticCurveTo(0, 0, 15, 0); ctx.lineTo(50, 0); ctx.stroke();