I am looking to animate a path element inside an SVG using the Snap SVG library.
I saw Snap has a few methods related to paths. Some include: Snap.path.getBBox()
, Snap.path.getSubpath(),
and Snap.path.map()
I was trying to wrap my head around how to animate the path so that it starts as not showing, and over time reveals more and more of the path.
My question is similar to this (but this question is not specific to Snap, although I assume the principal is similar): How can I animate a progressive drawing of svg path?
And here is a working demo so it is clear what I am looking to accomplish (end result): http://jsfiddle.net/lollero/THGuz/
I made a JSFiddle to play around with my particular path element: http://jsfiddle.net/xhdjbj1r/1/
Any help or guidance is appreciated.