meteor-interpolator:随着时间的推移插入对象

时间:2021-06-28 10:20:45
【文件属性】:
文件名称:meteor-interpolator:随着时间的推移插入对象
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-28 10:20:45
JavaScript 插值器 这是一个简单的包,它添加了一个对象Interpolator用于随时间在对象a和b值之间进行插值。 前任。: var method = new Interpolator ( 'linear' ) ; // Create function var foo = method . create ( { x : 0 , y : 0 } , { x : 10 , y : 0 } ) ; var posA = foo ( 0 ) ; // returns { x: 0, y: 0} var posB = foo ( 0.5 ) ; // returns { x: 5, y: 0} var posB = foo ( 1 ) ; // returns { x: 10, y: 0} // Spring physics array of two (tension, fri
【文件预览】:
meteor-interpolator-master
----.jshintrc(2KB)
----package.js(410B)
----LICENSE.md(1KB)
----interpolate.js(2KB)
----CHANGELOG.md(226B)
----README.md(2KB)
----.versions(58B)
----easing.js(9KB)
----.editorconfig(366B)

网友评论