Skip to content

EASINGS

const EASINGS: Record<EasingName, EasingFn>

Defined in: core/animator.ts:22

The five built-in easing curves keyed by their EasingName. Used internally by Animator and exposed for consumers that want to drive their own requestAnimationFrame loops with the same curves SwiftChart itself uses.

import { EASINGS } from '@arshad-shah/swift-chart';
const eased = EASINGS.easeOutCubic(0.5); // ≈ 0.875