pathAnimator:沿SVG路径移动DOM元素(或沿路径执行任何操作...)

时间:2021-04-14 22:08:58
【文件属性】:
文件名称:pathAnimator:沿SVG路径移动DOM元素(或沿路径执行任何操作...)
文件大小:55KB
文件格式:ZIP
更新时间:2021-04-14 22:08:58
svg animations svg-path HTML 路径动画师 沿SVG路径移动DOM元素(或沿路径执行任何操作...) 基本使用示例: var path = "M150 0 L75 200 L225 200 Z" ; // an SVG path pathAnimator , startFromPercent = 10 , // start from 10% of the path stopAtPercent = 70 ; // stop at 70% of the path (which will then call the onDone function callback) // initiate a new pathAnimator object pathAnimator = new PathAnimator ( path , { duration : 4 ,
【文件预览】:
pathAnimator-master
----.gitignore(2KB)
----pathAnimator.js(3KB)
----README.md(2KB)
----index.html(8KB)
----demos()
--------3()
--------2()
--------1()
----.gitattributes(483B)

网友评论