gre/bezier-easing
cubic-bezier implementation for your JavaScript animation easings – MIT License observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4641
- days_rel: n/a
- days_push: 31
- n_releases_24m: 0
Adoption not part of the score
1776 stars · 137 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tiny JavaScript library that computes cubic-bezier easing functions, matching CSS transition-timing-function behavior. It uses fast heuristics (dichotomic search, Newton-Raphson, sampling) for performance and precision.
Use cases
- create custom easing curves for JavaScript animations
- replicate CSS cubic-bezier timing functions in JS
- compute eased progress values between 0 and 1
- add ease-in ease-out curves to canvas or WebGL animations
- use consistent easing in React Native animations
When to choose
- you need CSS-compatible cubic-bezier easing in JavaScript
- you want a tiny, dependency-free, well-tested easing library
- you need high performance and precision for animation interpolation
When to avoid
- you only need CSS transitions and can use native CSS timing functions
- you need spring or physics-based animation easing
- you need a full animation framework with timelines and keyframes
Facets
library · maturity stable
animation math web-development frontend graphics browser cross-platform easing cubic-bezier timing-function css-transitions micro-library interpolation nodejs
2 sources
- readme: https://github.com/gre/bezier-easing · fetched 2026-08-28 · ab80ec301608
- registry_npm: https://registry.npmjs.org/bezier-easing · fetched 2026-08-29 · 24a66fec4f77
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gre/bezier-easing | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="gre/bezier-easing")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem