I need to create an animation effect where an arc is pulsing - alternating between a length of 180 and 102 degrees. Also it needs to elongate/compress symmetrically on both sides at the same time. I have the svg for this arc (src):
<svg width="138px" height="138px" viewBox="0 0 138 138" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
<title>blue-beam</title>
<desc>Created with Sketch.</desc>
<defs>
<radialGradient cx="50%" cy="4.72722907%" fx="50%" fy="4.72722907%" r="45.2727709%" id="radialGradient-1">
<stop stop-color="#09FEFE" offset="0%"></stop>
<stop stop-color="#3DFBFE" stop-opacity="0" offset="100%"></stop>
</radialGradient>
<path d="M69,0 L69,0 C107.107648,-7.00026132e-15 138,30.8923523 138,69 L138,69 C138,107.107648 107.107648,138 69,138 L69,138 C30.8923523,138 4.66684088e-15,107.107648 0,69 L0,69 C-4.66684088e-15,30.8923523 30.8923523,7.00026132e-15 69,0 Z" id="path-2"></path>
</defs>
<g id="blue-beam" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<mask id="mask-3" fill="white">
<use xlink:href="#path-2"></use>
</mask>
<path stroke="url(#radialGradient-1)" stroke-width="4" d="M69,2 C31.9969218,2 2,31.9969218 2,69 C2,106.003078 31.9969218,136 69,136 C106.003078,136 136,106.003078 136,69 C136,31.9969218 106.003078,2 69,2 Z"></path>
</g>
</svg>
CSS animation newbie here. Could anyone help with how to do this animation using CSS? I'm stuck on how to actually change the length of the arc itself (elongate/shorten) from both sides. I read about stroke offset, but that seems to draw out the path on one end