W3C home > Mailing lists > Public > www-svg@w3.org > September 2011

fill = "freeze" | "remove" | "revert"

From: David Dailey <ddailey@zoominternet.net>
Date: Thu, 8 Sep 2011 15:28:41 -0400
To: "'www-svg'" <www-svg@w3.org>
Message-ID: <001f01cc6e5d$84778120$8d668360$@net>
Currently the animate spec allows for two values of fill (freeze and
remove).

 

A third value would be nice:

 

revert

The animation effect F(t)
<http://www.w3.org/TR/2001/REC-smil-animation-20010904/#AnimationModel>  is
defined to freeze the effect value at the first value of the active
duration. The animation effect is "frozen" for the remainder of the document
duration (or until the animation is restarted - see SMIL Animation:
Restarting animation
<http://www.w3.org/TR/2001/REC-smil-animation-20010904/#Restart> ).

 

This would be very handy for simple animations like
http://granite.sru.edu/~ddailey/svg/animstart0a.svg or
http://granite.sru.edu/~ddailey/svg/animstart0b.svg, in which we might wish
for something being animated along a path to revert to the beginning of that
path, rather than either disappearing, being frozen at the end of the path,
or blipping back to its own (pre-animated) "start" position as in

http://granite.sru.edu/~ddailey/svg/animstart0.svg .

 

It's a problem I've encountered before (see
http://srufaculty.sru.edu/david.dailey/svg/tribraids9.svg ) and as I recall,
trying to run sets to make the little blinking thing in the upper left
corner invisible didn't work so well, and is rather kludgy to boot.

 

 

 

Regards

David
Received on Thursday, 8 September 2011 19:29:47 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:49 GMT