Expand description
Easing helpers for deterministic motion.
Fret’s UI motion is driven by a monotonic tick/frame clock (ADR 0034). shadcn/ui and Radix
often express easing in CSS (e.g. ease-[cubic-bezier(0.22,1,0.36,1)]). This module provides
small, reusable easing math so motion policies can match those outcomes without DOM/CSS.
Structs§
- Cubic
Bezier - A CSS-style cubic-bezier easing curve.
Constants§
- EASE
- EASE_IN
- EASE_
IN_ OUT - EASE_
OUT - SHADCN_
EASE - shadcn/ui v4 commonly uses
ease-[cubic-bezier(0.22,1,0.36,1)]for overlay-like transitions.