3 ms·
It's done by updating stroke-dasharray, stroke-dashoffset. http://bl.ocks.org/mbostock/5649592 http://bl.ocks.org/mbostock/5649592 http://jakearchibald.com/20
by mxfh 13y ago
It's done by updating stroke-dasharray, stroke-dashoffset.
http://bl.ocks.org/mbostock/5649592 http://bl.ocks.org/mbostock/5649592
http://jakearchibald.com/2013/animated-line-drawing-svg/ http://jakearchibald.com/2013/animated-line-drawing-svg/
But it's not that new as one would think.
http://www.carto.net/svg/samples/animated_bustrack.shtml http://www.carto.net/svg/samples/animated_bustrack.shtml (2008)