I am trying to rotate my SVG image along its axis, which I can successfully do with the following code:
<animateTransform attributeName="transform"
type="rotate"
from="120 262.5 125"
to="0 262.5 125"
begin="2s"
dur="2s"
repeatCount="indefinite"
/>
My question is whether or not there is a way to deal the restart of the animation by a second or two. With repeatCount set to indefinite, it immediately restarts it.
Thanks in advance!
UPDATE
I have tried the code given below, but it didn't quite work the way I needed it to. It needs to rotate around the svg's central axis, but pause for about a second before restarting. Any ideas?
FINAL UPDATE
On the off chance that anyone sees this in the future searching for this issue, I'll provide what I was able to do to get it to work. By adding an id, changing the begin time and the repeatCount, I was successfully able to get a repetitive rotation with a delay in between.
Here's the code:
<animateTransform id="rotation" attributeName="transform"
type="rotate"
from="120 262.5 125"
to="0 262.5 125"
begin="2+rotation.end+2"
dur="2s"
repeatCount=1
/>