zhangxinxu/Tween
tween.js observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4721
- days_rel: n/a
- days_push: 887
- n_releases_24m: 0
Adoption not part of the score
1009 stars · 266 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library of easing/tween algorithms for numeric animations, plus an animation.js helper exposing Math.animation(from, to, duration, easing, callback). It returns a requestAnimationFrame handle that can be cancelled.
Use cases
- animate a number from one value to another in javascript
- easing functions for web animations
- smooth scroll or value tweening without a framework
- cancel a running animation frame in js
- bounce or quad easing for canvas animations
When to choose
- you need lightweight, dependency-free tweening in the browser
- you want classic easing curves (Linear, Quad, Bounce, etc.) with a simple callback API
When to avoid
- you need a full animation framework with CSS/DOM animation support
- you require an officially licensed or actively developed package
Facets
library · maturity maintenance
animation web-development frontend browser tweening easing-functions requestanimationframe vanilla-js javascript
1 source
- readme: https://github.com/zhangxinxu/Tween · fetched 2026-08-28 · 62b82e8cdf1c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zhangxinxu/Tween | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="zhangxinxu/Tween")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem