<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

<svg width="400" height="300">

<path d="M50,125 C100,25 150,225 200,125 S250,225 350,125"
      style="fill:none; stroke: blue;"/>

<text text-anchor="middle" x="0" y="0">
    <animateMotion
         path="M50,125 C100,25 150,225 200,125 S250,225 350,125"
         begin="0s" dur="4s"
         rotate="auto"
         repeatCount="indefinite"/>
   I'm feeling seasick!
</text>

</svg>