A somewhat feeble attempt to do this can be seen at 

http://cs.sru.edu/~ddailey/svg/A2.svg

 

Note that the middle lower example sort of works, by putting four different
values of the d attribute into an interpolated animation.  Perhaps with
eight values the effect would be more accurate (four more at 45, 135. 225,
and 315 degrees each). Not sure, but the interpolation might simulate
rotation, if sufficiently many intermediate states of the pseudo-ellipse are
provided, then it might sorta work.

 

Of course, then the author would have to sit and work out all the trig of
the transformed coordinates for all 8 interpolated values (the 90 degree
ones were simple, since I just permuted the coordinates within the d
attribute)

 

Unless someone sees something obvious that I'm missing, would it make sense
to propose that animation along a path be able to follow a path even when it
is being transformed?

 

Cheers

D

 

From: [email protected] [mailto:[email protected]]
On Behalf Of David Dailey
Sent: Friday, December 28, 2012 2:45 PM
To: [email protected]
Subject: [svg-developers] following a moving path

 

  

Observe the examples in http://cs.sru.edu/~ddailey/svg/A1.svg

In all browsers but Firefox (where I've filed a bug report) and IE (which
seems not to yet support SVG animation) the red oval follows a path that is
itself animated (by animating its d attribute). But supposing we want to
have an oval (the blue one) follow a path that is not "deforming" but is
rotating. It seems as though there is no way to do that.

Can anyone think of a way to do it short of amending the SVG spec? (or using
script - which is so hideously inelegant that no cultured person would
seriously consider it <humor/>)

Cheers

D

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]



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

-----
To unsubscribe send a message to: [email protected]
-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:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

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

Reply via email to