A JavaScript toolbox that aids in creating various animations. Efficient and customizable with robust coverage.
Popmotion is a powerful JavaScript toolbox for animators. It supports keyframes, spring, and inertia animations on numbers, colors, and complex strings. The library is written in TypeScript and enjoys over 95% test coverage, ensuring stability. The animate function, at less than 5kb, is the core of the library and can be easily imported along with other utility functions. Popmotion provides various options for animation, including duration, easing functions, and offset for keyframes, as well as stiffness, damping, and mass for spring animations. It also offers playback controls such as stop and inertia animations for gradual deceleration. Overall, Popmotion is a comprehensive and reliable tool for animators, making JavaScript animations simple, portable, and customizable.