A simple but powerful JavaScript library for tweening numeric object properties and CSS style properties.
TweenJS is a JavaScript library for creating tweening animations that transition object properties over time. It solves the problem of animating numeric values and CSS properties with a simple, chainable API, enabling developers to build complex sequences easily. It's part of the CreateJS suite but works independently, focusing on deterministic step-based transitions.
Frontend developers and game developers who need lightweight, performant property animations for web applications, interactive media, or HTML5 games.
Developers choose TweenJS for its straightforward API that balances simplicity with powerful sequencing capabilities, deterministic behavior for reliable animations, and seamless integration with other CreateJS libraries like EaselJS.
A simple but powerful tweening / animation library for Javascript. Part of the CreateJS suite of libraries.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables building complex animation sequences with readable method chaining like .to() and .wait(), reducing code complexity.
Steps are entirely deterministic, ensuring consistent property values at any tween position, which is vital for reliable animation sequencing.
Directly animates CSS style properties, facilitating smooth UI transitions without extra dependencies.
Works independently or seamlessly with the CreateJS suite, minimizing overhead for web games and interactive media projects.
Actions such as .call() and .set() may not execute at precise times, leading to potential race conditions in complex sequences, as noted in the README.
The Ease class uses a non-standard single-parameter system, restricting the use of custom or complex easing curves required for advanced animations.
Lacks built-in support for modern frameworks like React or Vue, necessitating manual integration that can be cumbersome in state-driven applications.