Skip to content

remap

remap(value, inMin, inMax, outMin, outMax): number

Defined in: src/modules/math/math.ts:37

Remap value from the range [inMin, inMax] onto [outMin, outMax]. Unclamped — compose with clamp or clamp01 to bound the result.

number

number

number

number

number

number