Context: I am working on infographics in SVG. I want the document to come to life thanks to the animation, especially with the animation of the chains . I am already familiar with SVG, but recently I began to study SVG animation.
Since SMIL is deprecated, I'm trying to create animations in pure SVG.
Looking at this article (especially in the Handy Dandy Replacement reference table at the end) , I get the impression that I need to stop using hattributes:
fill="freeze" repeatCount="indefinite" begin="hover" begin="circ-anim.begin + 1s"
... because they are part of SVG SMIL.
But if I look at the SVG link on Mozilla , I see <animate> and <animateTransform> inside the list, without warning that they are SMIL, or the need to stop using them.
Moreover, it seems that Chrome usually warns about using SMIL animations in the console , but I donβt see such a warning when using <animate> or <animateTransform> (whether in an SVG document or inside an HTML document that includes an inline or SVG object.)
In short, I donβt understand what SMIL is and what pure SVG is . Can someone highlight the topic? Can I use <animate> and <animateTransform> ?
animation svg smil
Fabien snauwaert
source share