marjan3 / tweener

🏍 Tiny tween based animation library for animation any objects based on it's properties. Can be started, stopped, paused & restarted.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🏍 Tweener

Publish

Tiny library for animating javascript objects in the browser using tween technology. Supports:

  • Promise-based tween
  • Updater can be changed (also Tweener provides own updater function)
  • Minimum FPS can be modified
  • Easing functions not provided so the library doesn't add extra unused functions (For more details on easing functions check: https://github.com/CreateJS/TweenJS/blob/master/src/tweenjs/Ease.js)
  • Starting, Pausing, Stopping & Restarting animations

Built with:

  • babel
  • webpack
  • typescript

Requirements

  • Node (& Npm)
  • Yarn

Install

$ yarn

Build Development

$ yarn build

or

$ yarn watch

Try Example

$ yarn serve

Open http://localhost:8080 in browser and click on dist/ directory

License

MIT Β© Marjan Tanevski

About

🏍 Tiny tween based animation library for animation any objects based on it's properties. Can be started, stopped, paused & restarted.

License:MIT License


Languages

Language:TypeScript 87.1%Language:JavaScript 12.9%