ExpressionMath
(OpScript)¶
Utilities¶
- ExpressionMath.clamp(number|table<number> value, number|table<number> a, number|array<number> b) → number|table<number>¶
- ExpressionMath.lerp(number|table<number> mix, number|table<number> a, number|table<number> b) → number|table<number>¶
- ExpressionMath.smoothstep(number|table<number> t) → number|table<number>¶
- ExpressionMath.fit(number|array value, number|array oldmin, number|array oldmax, number|array newmin, number|array newmax) → number|array¶
- ExpressionMath.cfit(number|array value, number|array oldmin, number|array oldmax, number|array newmin, number|array newmax) → number|array¶
- ExpressionMath.softcfit(number|array value, number|array oldmin, number|array oldmax, number|array newmin, number|array newmax) → number|array¶
Retiming¶
- ExpressionMath.retime(number t, number start, number end, string|number inMode, string|number outMode) → number¶
- ExpressionMath.RETIME_FREEZE¶
- ExpressionMath.RETIME_MIRROR¶
- ExpressionMath.RETIME_REPEAT¶