Full version, Basic version, Tiny version

Specification link: 19.2 Animation elements

animate-elem-15-t ← index → animate-elem-19-t

# animate-elem-17-t
SVG Image | PNG Image
animate-elem-17-t Test possible values for 'keyTimes' calcMode="spline" keyTimes="0;.25;.5;1" Time (s): 0 2 4 8 $Revision: 1.6 $ |

Test 'calcMode'=spline

One animation has been defined to animate the height of a rectangle. Ruler lines and text are provided to help show what the correct behavior is. The red text shows the values for the 'calcMode' and 'keyTimes' attributes. The black text and ruler lines help show the size and movement of the rectangle over time.

This animation shows calcMode="spline". Between time 4 seconds and 8 seconds, the animation displays an ease-in/ease-out approach instead of a constant linear approach which would have been the case if calcMode had been linear instead.

animate-elem-15-t ← index → animate-elem-19-t