не подскажите как реализовать такую анимацию круга только на SVG https://codepen.io/HTMLProgrammer/pen/qBbdJZW?editors=1010
let ctx = canvas.getContext("2d"),
w = canvas.width,
h = canvas.height,
angle = 0;
function draw() {
ctx.fillStyle = "#fff";
ctx.fillRect(0, 0, w, h);
ctx.save();
ctx.translate(w / 2, h / 2);
ctx.beginPath();
ctx.arc(0, 0, 50, 0, angle);
ctx.lineTo(0, 0);
ctx.fillStyle = "#000";
ctx.fill();
ctx.restore();
if (angle < Math.PI * 2) angle += 0.1;
requestAnimationFrame(draw);
}
draw();
canvas.onclick = () => (angle = 0);
<canvas id="canvas"></canvas>