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

0.1.11 • Public • Published

Tweenkey

Micro animation library for javascript.

Build Status MIT License

Todo Core-Release in less than ~3Kb (Gzipped):

  • [x] Support basic from, to, fromTo and set accessories for tweening.
  • [x] Support pause, resume and kill for each tween and for all active tweens as well.
  • [x] Delay parameter without using setTimeout (keeps running on background).
  • [x] Pause tween engine when browser tab becomes inactive.
  • [x] Handle array of objects as the target param.
  • [x] Setup test environment.
  • [x] Step manually in time with update method.
  • [x] Handle multiple active tweens into the same object overriding active properties.
  • [x] Support for killing specific attributes only.
  • [x] Add support to control FPS.
  • [x] Add timescale property for tween.
  • [x] Add support to handle restarts on tweens.
  • [x] Add support to seek a specific position of current tween (progress and time accessors).
  • [x] Add reverse and yoyo functionality.
  • [x] Add repeat count, repeatDelay and onRepeat callback parameters.
  • [x] Add ticker support with kill, pause, resume and fps controls per instance.
  • [x] Add support for immediate render param on set, from and fromTo tweens.
  • [ ] Add plugin support.
  • [ ] Test & optimize main loop.
  • [ ] Make demo webpage.
  • [ ] Write test code.

Package Sidebar

Install

npm i tweenkey

Weekly Downloads

1

Version

0.1.11

License

MIT

Last publish

Collaborators

  • radixzz