Function
The input value to map.
Start of the input range.
End of the input range.
Value returned when x equals x1.
Value returned when x equals x2.
Optionalstrict: boolean = true
Whether to clamp x into [x1, x2] first. Set it to false to allow
extrapolation beyond the given range.
The interpolated value.
linearInterpolation