animate object through a bezier path

59 views
Skip to first unread message

karim mehadhebi

unread,
Sep 20, 2023, 6:45:45 PM9/20/23
to Snapsvg
Hello Every One,

I have designed some pictures with INKSCAPE showing aircraft flows at an airport. Since this has to be inserted into a web Site, I plan to do animations, in order to illustrate the concept behind the Figure.

Typically, i would like to fly an aircraft though a path. I thought to use a bezier path with some id, to retrieve it through SNAP, to find its length and to retrieve points at some length, but this method is not correct because the points are obtained from the 'd' attribute, and this d attribute does not correspond to the location of the bezier path (this is easy to check, since the M is the start of the bezier, and this start does not correspond to the true location of the extremal points of the bezier).

I have also made an extensive search on the web, assuming that i was not the first one to think to animate by moving an object through a bezier, but I couldn't find anything.

So, if somebody could provide me with some tips, of any kind, using SNAP, that would be appreciated.

Thanks by advance.
Reply all
Reply to author
Forward
0 new messages