Commit 44ad26fe by doszhang

dos

parent 60cbcf9a
......@@ -323,6 +323,7 @@ function countDown() {
countDownCtx.fillStyle = '#0f0';
timer = setInterval(function () {
angle = ((angle * 10) - 36) / 10;
countDownCtx.clearRect(0, 0, countDownCanvas.width, countDownCanvas.height);
countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 0, angle).fill();
console.log(angle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment