# gre/bezier-easing

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

Repository: https://github.com/gre/bezier-easing
Canonical: https://ross.abutalabs.com/products/bezier-easing
Homepage: http://greweb.me/bezier-easing-editor/example/
Language: JavaScript
License: MIT
License Family: permissive
Topics: bezier, easing, cubic-bezier, animation
Last push: 2026-08-02T08:58:28+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 4641, "days_push": 31, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1776, forks 137 (observed 2026-08-28T04:05:34.587363+00:00)

## What it is
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
- artifact type: library
- maturity: stable
- function: animation, math
- domain: web-development, frontend, graphics
- platform: browser, cross-platform
- tags: easing, cubic-bezier, timing-function, css-transitions, micro-library, interpolation, nodejs

## Member repositories
- gre/bezier-easing (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.587363+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:16.178829+00:00, confidence not recorded.
  - readme: https://github.com/gre/bezier-easing (fetched 2026-08-28T04:05:34.587363+00:00, sha ab80ec301608)
  - registry_npm: https://registry.npmjs.org/bezier-easing (fetched 2026-08-29T11:03:55.005096+00:00, sha 24a66fec4f77)
- Data as of 2026-08-30T08:39:29.467469+00:00.
