Basically, I want to be able to fill a circle using a canvas, but it enlivens a certain percentage. I have only a circle filling 80% of the way.
Knowing my canvas is not surprising, here is the image I made in Photoshop to display what I want.

I want the circle to start empty, and then fill up to 70% of the circle. Is this possible with Canvas, if so? can anyone shed some light on how to do this?
Here is the fiddle of what I managed
http://jsfiddle.net/6Vm67/
var canvas = document.getElementById('Circle'); var context = canvas.getContext('2d'); var centerX = canvas.width / 2; var centerY = canvas.height / 2; var radius = 80; context.beginPath(); context.arc(centerX, centerY, radius, 0, 2 * Math.PI, false); context.fillStyle = '#13a8a4'; context.fill(); context.lineWidth = 10; context.strokeStyle = '#ffffff'; context.stroke();
Any help would be appreciated by weight.
source share