实用绘制和动画SVG描边路径的JavaScript插件 A little JavaScript class (without dependencies) to draw and animate SVG path strokes

Segment

下面的参数可以进行修改。

segment.draw(
Segment begin
,
Segment end
,
Duration
, {easing:
Easing function
} );