<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<canvas id="MyCanvas" width="600" height="300"></canvas>
<script>
var canvas = document.getElementById('MyCanvas');
var context = canvas.getContext('2d');
context.beginPath();
context.moveTo(200,150);
context.bezierCurveTo(50,100,500,0,350,200);
context.lineWidth = 15;
context.strokeStyle = "RED";
context.stroke();
</script>
</body>
</html>