Hacker News new | ask | show | jobs
by leetrout 3648 days ago
Do you have any quick notes on how this compares and contrasts with GSAP[1] other than the licensing? Is there any clear case for "Use Anime.js for XYZ"?

[1] http://greensock.com/gsap

1 comments

GSAP can do a lot more than Anime. But it’s also way more heavy. My goal with this library was to keep the API simple as possible, focus on the things I really need (multiple timings, easings, playback controls…) while keeping the code super lightweight (9KB minified).
Have you seen or used https://github.com/Popmotion/popmotion/? These both seem fairly similar, both small libraries with a lot of overlap.
Popmotion minified is over 45kB, almost 8x as large as Anime.js.
I guess their frontpage

>Popmotion is a lightweight 12kb JavaScript motion engine that makes creating engaging user interactions quick and simple.

Is slightly outdated now