Skip to content
T

Tween.js

JavaScript/TypeScript animation engine

by tweenjsFree

#376in Utilities
0In stores

Description

tween.js is a JavaScript and TypeScript tweening engine for easy animations. A tween smoothly changes the numeric properties of an object fr…

Highlights

  • Tweens numeric properties of objects
  • Built-in and custom easing functions
  • No animation loop of its own
  • Chained, repeating and yoyo tweens

Ratings & Reviews

No ratings yet

Be the first to rate Tween.js.

People also visit

U

Unity Tweens

An extremely light weight, extendable and customisable tweening engine made…

Utilities
Launch
S

Shifty

The fastest TypeScript animation engine on the web

Utilities
Launch
A

Anime

JavaScript animation engine

Design
Launch
B

Bezier Easing

cubic-bezier implementation for your JavaScript animation easings – MIT License

Utilities
Launch
R

rc-tween-one

tween-one anim component for react

UI Libraries
Launch
G

gsap-core

Correct GSAP core API: tweens, easing, stagger, matchMedia

AI Skills
Get

Tween.js FAQ

What is tween.js?

A JavaScript and TypeScript library that smoothly animates the properties of an object over time.

Does it run its own animation loop?

No. The README says it can be integrated into any animation loop.

Does it handle CSS units or colours?

No. It does not append px for you and does not interpolate colours.

How do I install it?

With npm, or from a CDN, as described in the installation section.

Are there examples?

Yes. The README lists many examples, from a simple hello world to chained, relative and yoyo tweens.

What are the best Tween.js alternatives?

Popular alternatives to Tween.js include Unity Tweens, Shifty and Bezier Easing. See all Tween.js alternatives

Developer Stuff

Badges