|
||||||||
|
Chapter 9 Interactivity and Animation Extract KeyTimes keyTimes
= "list of values between 0 and 1" With this example : From 0 to 1.95s, width of rectangle
increase from 0 to 400 If we get no values for keySplines, speed of animation is the same on each part.
Figure 9-3. KeyTimes and values ( play with keyTimes in svg file ) KeySplines keySplines = "list of list of 4 numbers between 0 and 1" A set of Bézier control points
associated with the keyTimes list, defining a cubic Bézier function that
controls interval pacing. With our previous example : keyTimes="0;0.195;0.405;0.7;1"
values="0;400;47.5;450;500"
Figure 9-4. KeySplines
and speed Figure 9-5. KeySplines and speed ( play with keySplines in svg file )
Figures 9-4 and 9-5 show how is speed with two examples of values for keySplines chapters: intro toc intro sample svg elements toc svg elements sample |
|
|||||||
|
| Rainbow Seeker | SVG PHP
Learn SVG: Contact Learn SVG
©2002-2008 Learn SVG. All Rights Reserved. Questions and comments to: learnsvg@gmail.com |
||||||||