Watch a demo of different values of the arc() method.
Or click a specific value to see the result:
let c = document.getElementById('myCanvas'); let ctx = c.getContext('2d'); ctx.beginPath(); ctx.arc(100,75,75,0*Math.PI,1.5*Math.PI); ctx.stroke();
Play more with the code in our Tryit yourself editor: Try it Yourself ❯