14/3. feladat megoldása


<?xml version="1.0"?>

<!DOCTYPE svg PUBLIC "-//W3//DTD SVG 1.1//EN"
	"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg xmlns= "http://www.w3.org/2000/svg"
     xmlns:xlink= "http://www.w3.org/1999/xlink"
     version="1.1" width="200" height="200">

<circle cx="100" cy="100" r="50" style="fill: purple;">
	<animate id="novel"
		 attributeName="r"
		 attributeType="XML"
		 from="50" to="80"
		 begin="1s" dur="3s"
		 fill="freeze"/>
	<animate attributeName="r"
		 attributeType="XML"
		 from="80" to="50"
		 begin="novel.end+1s" dur="3s"
		 fill="freeze"/>
</circle>

</svg>