Animation library for creating and orchestrating tween animations. Based on top of CSS animations, with user API inpired by GSAP library.
Schwifty.to(document.querySelector('.element'), 1, { left: 200, top: '10%', ease: 'easeOutElastic', delay: 0});
Load testing performance, General code examples and use cases
- support for more properties animations All CSS animated properties
- pause support
- support for combinig previous animation with new added one
- handle for element removal
- add support for pseudo elements
- add support for easing functions - (elastic requires initial value)
- width/height/left/right/top/bottom/etc needs starting value
- add support for incremental values - x:'-=50'
- add support for calc value
- flatten floating point values
- optimize elastic resampling for stagger
- stop stagger
- on stagger with simillar values create joined class rule
- will-change improves dramatically - should add on animation