Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: export-svg , Previous: evt-time , Up: E , Home: Overview

Clamps Dictionary

exp-n

Macro

(exp-n val min max)

Return the reverse exponential interpolation for a value in the range [min..max] as a normalized float value. Min and max have to be positive numbers.

Arguments

x An input value in the range [min..max] to be interpolated.
min The minimum value.
max The maximum value.

Examples

(exp-n 1 1 100) ; => 0.0

(exp-n 10 1 100) ; => 0.5

(exp-n 100 1 100) ; => 1.0

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate