EXPLORING SVG PART 4
Animate your Scalable Vector Graphics (SVG)
Animate, Set and Animate Motion
In my previous article, we discussed how to make different SVG shapes. Here over this article, we are discussing how to bring different animations on SVG elements. SVG support simple to advanced level of animation. It had a great set of animation related tags for this. Here over this article, let’s explore different SVG tags for animation in detail.
Here we are discussing about the key tags which supported for SVG animation such as <animate>, <set>, <animateMotion> and <mpath>
Animate
The Animate is a tag which used to animate an element over time. With the help of different attributes on <animate>, it can make the animation so flexible.
Let’s begin with a basic example using animate.
Here it is doing a 5-second animation that the rectangle turns into a circle and comes back to the rectangle. But for the first 4 seconds, the takes to rectangle going to a circle and…