Skip to main content
Version: 1.x

@microsoft/fast-colors > lerp

lerp() function

Linearly interpolate

Signature:
export declare function lerp(i: number, min: number, max: number): number;

Parameters

ParameterTypeDescription
inumber
minnumber
maxnumber
Returns:

number