Releases: juliangarnier/anime
Releases · juliangarnier/anime
v2.0.0
What's new?
- Up to 2 times faster
- Multiple keyframes by properties
- Animations timeline
- Custom bezier easing functions
- Promise support
- Relative values (+=, -=, *=)
- Reverse animations at anytime with
animation.reverse()
- Brand new documentation
Improvements
- New elastic easing functions (elasticity can slightly differ from v1.x)
- Improved playback and callback systems
- Motion path animation supports reverse and alternate directions
easing
,elasticity
andround
properties accept functions as value- Add
animation.paused
to check if the instance is running or not - Add
animation.reset()
to properly reset an animation - Simpler instance Object
Changes to consider when migrating from v1.x
update
callback is now called right after.play()
animation.ended
replaced by `animation.completed``animation.play()
andanimation.restart()
no longer accept argumentsanime.list
is replaced byanime.running
- No more
...Bounce
andOutIn...
built in easing functions - No more
animation.settings
, all parameters are now accessible directly at the root of the Object - Remove
will-change
support on CSS animation reverse
direction now make the animation goes from 100% to 0% instead of reversing tweens properties
v1.1.3
v1.1.2
v1.1.1
v1.1
Internal changes
- Performance optimisations
- Use a unique Request Animation Frame (instead of creating a new one for each animations)
- Replace
+new Date()
with the RAF timestamp - Add -webkit- prefixe for Safari < 9
Minor API changes
- Remove
myAnimation.running
- Replace
myAnimation.time
bymyAnimation.currentTime
- Add
anime.version
Other
- Add examples directory