Specifies the interpolation mode for the animation.
discrete | linear | paced | spline Specifies how far along the path the object shall move at a moment in time.
It takes a semicolon-separated list of floating point values between 0 and 1. Each value corresponds to a value in the keyTimes attribute.
<number> [; <number>]* ;? Specifies the origin of motion for the animation.
It has no effect in SVG.
Specifies the motion path.
It is expressed in the same format and interpreted the same way as the d geometric property for the path element. The effect of a motion path animation is to add a supplemental transformation matrix onto the CTM for the referenced object which causes a translation along the x- and y-axes of the current user coordinate system by the computed X and Y values computed over time.
Specifies the rotation of an object as it travels along a motion path.
auto | auto-reverse | <number>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50 0A25 25 0 0 1 50 100A25 25 0 0 1 50 0" fill="none" id="myid" stroke="black"/>
<circle r="5">
<animateMotion calcMode="linear" dur="4" keyPoints="0;0.25;0.5;0.75;1" keyTimes="0;0.5;0.75;0.9;1" repeatCount="indefinite">
<mpath href="#myid">
</animateMotion>
</circle>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50 0A25 25 0 0 1 50 100A25 25 0 0 1 50 0" fill="none" id="myid" stroke="black"/>
<circle r="5">
<animateMotion calcMode="paced" dur="4" keyPoints="0;0.25;0.5;0.75;1" keyTimes="0;0.5;0.75;0.9;1" repeatCount="indefinite">
<mpath href="#myid">
</animateMotion>
</circle>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50 0A25 25 0 0 1 50 100A25 25 0 0 1 50 0" fill="none" id="myid" stroke="black"/>
<circle r="5">
<animateMotion calcMode="spline" dur="4" keyPoints="0;0.25;0.5;0.75;1" keySplines="0.5 0 0.5 1; 0.5 0 0.5 1; 0.5 0 0.5 1; 0.5 0 0.5 1" keyTimes="0;0.5;0.75;0.9;1" repeatCount="indefinite">
<mpath href="#myid">
</animateMotion>
</circle>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50 0A25 25 0 0 1 50 100A25 25 0 0 1 50 0" fill="none" id="myid" stroke="black"/>
<circle r="5">
<animateMotion calcMode="linear" dur="4" keyPoints="0;0.5;1" keyTimes="0;0.25;1" repeatCount="indefinite">
<mpath href="#myid"/>
</animateMotion>
</circle>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50,0 A25,25,0,0,1,50,100 A25,25,0,0,1,50,0" fill="none" id="myid" stroke="black"/>
<circle r="5">
<animateMotion dur="4" origin="default" repeatCount="indefinite">
<mpath href="#myid"/>
</animateMotion>
</circle>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50,0 A25,25,0,0,1,50,100 A25,25,0,0,1,50,0" fill="none" stroke="black"/>
<circle r="5">
<animateMotion dur="4" path="M50,0 A25,25,0,0,1,50,100 A25,25,0,0,1,50,0" repeatCount="indefinite"/>
</circle>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50 0A25 25 0 0 1 50 100A25 25 0 0 1 50 0" fill="none" id="myid" stroke="black"/>
<path d="M-5 -3L5 0L-5 3">
<animateMotion dur="4" repeatCount="indefinite" rotate="auto">
<mpath href="#myid"/>
</animateMotion>
</path>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50 0A25 25 0 0 1 50 100A25 25 0 0 1 50 0" fill="none" id="myid" stroke="black"/>
<path d="M-5 -3L5 0L-5 3">
<animateMotion dur="4" repeatCount="indefinite" rotate="auto-reverse">
<mpath href="#myid"/>
</animateMotion>
</path>
</svg>
<svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg">
<path d="M50 0A25 25 0 0 1 50 100A25 25 0 0 1 50 0" fill="none" id="myid" stroke="black"/>
<path d="M-5 -3L5 0L-5 3">
<animateMotion dur="4" repeatCount="indefinite" rotate="180">
<mpath href="#myid"/>
</animateMotion>
</path>
</svg>