notes/Semicircle Basic-eRZv3pq0.html
<!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');
var x = canvas.width / 2;
var y = canvas.height / 2;
var radius = 75;
context.beginPath();
context.arc(x, y, radius, 0, 2, false);
context.closePath();
context.lineWidth = 15;
context.strokeStyle = "Blue";
context.fillStyle = 'blue';
context.fill();
context.stroke();
</script>
</body>
</html>
syntax highlighted by Code2HTML, v. 0.9.1