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.

9 lines 219 B
/** * * @param start number * @param end number * @param percent number * @returns number */ export const Lerp = (start, end, percent) => start - ((start - end) * percent); //# sourceMappingURL=lerp.js.map