@lucid-softworks/number-lerp
v0.1.0
Published
Linear numeric interpolation and extrapolation.
Maintainers
Readme
@lucid-softworks/number-lerp
Linearly interpolate between numeric endpoints. Amounts outside zero through one extrapolate beyond the range.
import { lerp } from "@lucid-softworks/number-lerp";
lerp(0, 10, 0.5); // 5