13/10. 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">

<path id="gorbe" transform="translate(10,80)" d="M 0 0 q 60 -60 170 80"
      style="stroke: black; fill: none;"/>
<rect transform="translate(10,80)" width="10" height="10"
      style="fill: green;">
	<animateMotion begin="1s" dur="4s" fill="freeze" rotate="auto">
		<mpath xlink:href="#gorbe"/>
	</animateMotion>
</rect>

</svg>