How can you change the duration of an animationTransition in an SVG to make the animation speed up or slow down? I tried the below, where the dur attribute would change.
<svg width="120" height="120" viewBox="0 0 120 120"
xmlns="http://www.w3.org/2000/svg">
<polygon points="60,30 90,90 30,90">
<animateTransform attributeName="transform"
attributeType="XML"
type="rotate"
from="0 60 70"
to="360 60 70"
dur="10s"
repeatCount="indefinite">
<animate attributeType="XML" attributeName="dur" values="10s;5s;1s" dur="3s" />
</animateTransform>
</polygon>
</svg>
This doesn't end up working.
I cannot use javascript for this purpose (just want to use pure svg).
Any suggestions?