Thanks to Andreas for writing:

>.getTotalLength() is your friend when having to find out the total path 
>length.
>
>.getPointAtLength() is a way to get the coordinates at a certain length 
>from the origin. This
>way you could equally space elements along the path.

-----------
It worked great. How nice not to have to do that work by hand! Here's a 
quicky example I put together using that uses it:
http://srufaculty.sru.edu/david.dailey/svg/curve.svg
(it inserts a changing number of ellipses into an object, with the 
coordinates of the ellipses chosen from equal intervals along a bezier 
curve -- just for fun I animated the bezier with a window.setTimeout --  
which probably means I broke it for browsers other than IE/ASV3.)





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
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/

<*> 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