Home > @lndsld/math > interpolate
Interpolates value from one range to another
Signature:
declare function interpolate(valueRange: IRange2, targetRange: IRange2): Transform<number>;
Parameter | Type | Description |
---|---|---|
valueRange | IRange2 | |
targetRange | IRange2 |
Returns:
Transform<number>