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.

13 lines 337 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Lerp = void 0; /** * * @param start number * @param end number * @param percent number * @returns number */ const Lerp = (start, end, percent) => start - ((start - end) * percent); exports.Lerp = Lerp; //# sourceMappingURL=lerp.js.map