All the questions are duplicates which are in the Toaster I looked , there is implementation but no explanation !
I ready-made solution is not necessary and it is necessary to understand : How is animation SVG
For example , on many websites (
no examples as seen not often ) there are some buns , like on
click/hover there is a change of the contour of SVG , let's just SAY there was a triangle and on any event ... even spontaneous
changes this triangle in a circle , or
a star in the book ,
Here is a small example on
SVG SMIL where I transform from a controlled design in a square ,and if of the
circle to make
the rect that I don't get what and how to do , explain pliz ...