@huangjs888/damping
v2.2.1
Published
Damping algorithm
Downloads
7
Maintainers
Readme
damping
拖动阻尼算法
安装使用
npm install @huangjs888/damping --save
使用方法
import { revokeDamping, performDamping } from '@huangjs888/damping';
const a = performDamping(100, 500);
const b = revokeDamping(a, 500);