UNPKG

ts-useful

Version:

Functions for animation, color transitions, ecliptic, bezier, decasteljau, curves, three dimensional curves, smooth scrolling, random range, randomItem, mobius index, vectors, physics vectors, and easing.

12 lines (11 loc) 255 B
import { coordinate } from './types/coordinate'; /** * * @param points coordinate[] * @param percent number * @returns coordinate */ export declare const Curve: (points: coordinate[], percent: number) => { x: number; y: number; };