13/8. 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="100">

<path d="M 10 80 q 60 -60 170 80"  style="stroke: black; fill: none;"/>
<rect x="10" y="80" width="10" height="10" style="fill: green;">
	<animateMotion path="M 0 0 q 60 -60 170 80"
         begin="1s" dur="4s" fill="freeze"/>
</rect>

</svg>