Für ein Element lassen sich mehrere Animationen kombinieren – z.B. animateMotion und animateTransform, um das Element gleichzeitig zu bewegen und zu skalieren.
<animateMotion begin="0s" dur="10s" rotate="auto" repeatCount="indefinite"> <mpath xlink:href="#just-another-8" /></animateMotion> <animateTransform type="scale" attributeName="transform" values="1; 0.9; 0.7; 0.4; 0.1; 0.4; 0.7; 0.9" dur="10s" repeatCount="indefinite" begin="10s"/>
Alternativen sind Velocity.js, motionPath, CSS und Javascript, Libraries wie GreenSocks und snap.svg
Velocity.js ist eine Animations-Library mit einem API, das an jQuery $.animate() angelehnt ist, aber sowohl mit als auch ohne jQuery genutzt werden kann. Velocity.js unterstützt auch SVG-Animationen.
Vivus ist eine kleine Library, die SVG path-Animationen umsetzt und die Grafik on the fly zeichnet. Vivus ist auf SVG-path-Animationen spezialisiert, ist unabhängig von anderen Librarys und bringt gerade mal 8KB Zusatzgewicht.