bounty1.2.1 • Public • Published
SVG library for transitioning numbers with motion blur
See the live version.
To install the stable version:
npm install --save bounty
The API is really simple and straigthforward:
You can use it with other options:
If you want to cancel the ongoing animation just call returned function:
;const cancel = ;;
Library is built using UMD thus the following usage in HTML is possible.
The UMD build is also available on unpkg:
You can find the library on
Yea! That's it. Other options like
font-size are taken from computed styles so you can just style it like the other layers.
If you're interested how it's made, see the presentation.
There is a work in progress to implement additional features:
- Full ASCII transition support.
- Control animation.
- Introduce Webcomponents API
The library is available under the MIT license. For more info, see the LICENSE file.