Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<canvas id="canvas" width="400" height="400"
style="background-color:#333">
</canvas>
<script>
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
var radius = canvas.height / 2;
ctx.translate(radius, radius);
radius = radius * 0.90
drawClock();
function drawClock() {
  ctx.arc(0, 0, radius, 0 , 2*Math.PI);
  ctx.fillStyle = "white";
  ctx.fill();
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/graphics/tryit.asp?filename=trycanvas_clock_canvas by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:50:58 GMT -->
</html>