kween
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

kween-logo

Get started

Install

npm install --save kween
# or 
yarn add kween

Use

import { tween, bounceInOut } from 'kween'
 
tween({
  duration: 1000, // in milliseconds
  ease: bounceInOut,
  onUpdate: (value, progress) => {
    // value is eased, progress is linear
    console.log(value, progress)
  },
})

Package Sidebar

Install

npm i kween

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

96.6 kB

Total Files

48

Last publish

Collaborators

  • skulptur