Show HN: Motion One – New animation library, built on the Web Animations API
Hi HN!I'm Matt, author of Framer Motion and Popmotion. Today I'm launching my new side-project, Motion One.It's a new animation library built on the Web Animations API (WAAPI). I actually started this project as a book, but repeatedly found myself explaining some odd concepts (like fill mode) that I felt quite strongly that users shouldn't have to care about. I also discovered the state of WAAPI's implementation is very inconsistent across browsers despite green lights across caniuse [1].Motion One smooths over these inconsistencies and adds an opinionated API that makes it easier to use [2]. In addition, it adds all the features you'd want from a modern animation library, like a timeline, independent transform animations, and soon, springs.Being built on WAAPI means you also get hardware accelerated animations in a bundlesize thats around half that of Anime.js and a fifth of Greensock [3].Feedback and suggestions are welcome![1] https://caniuse.com/web-animation
[2] https://motion.dev/guides/waapi-improvements
[3] https://motion.dev/guides/feature-comparison