Hi,

I'm just starting to learn about SVG SMIL animation, and I'm
attempting to perform a simple task involving linear gradients. What
I'd like to do is have a simple linear gradient with a set of stops,
and then animate the stops so that the colours "cycle" through the
fill. What I mean by this is, given something like the following
gradient

      <linearGradient id="MyGradient">
        <stop offset=".10" stop-color="red"/>
        <stop offset=".30" stop-color="green" />
        <stop offset=".50" stop-color="yellow" />
        <stop offset=".70" stop-color="blue" />
        <stop offset=".90" stop-color="blue"/>
      </linearGradient>

The first stop should go from offset .1 to 1, then 0 to .1, and
repeat. The second stop offset should go from .3 to 1, then 0 to .3,
and so on.

It's easy enough for me to imagine how to represent this in script, as
each stop is simply being animated the same way at each time step,
starting from a different offset, but it's not clear to me how you can
accomplish the same thing using SMIL.

If anyone has any insight into this, I'd appreciate it if you could
let me know. Thanks,

Jake


------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to