Clamps Dictionary
lin-n
Function
(lin-n val min max)
Return the reverse linear interpolation for a value in the range [min..max] as a normalized float value.
Arguments
| x | An input value in the range [min..max] to be interpolated. | 
| min | The minimum value. | 
| max | The maximum value. | 
Examples
(lin-n 10 10 20) ; => 0.0 (lin-n 15 10 20) ; => 0.5 (lin-n 20 10 20) ; => 1.0
See also
Created: 2025-10-25 Sa 13:53