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
Noise
- ExpressionMath.noise(number x[, number y[, number z[, number w]]]) number
- ExpressionMath.snoise(number x[, number y[, number z[, number w]]]) number
- ExpressionMath.randval(number min, number max, number seed) number
Hashing
- ExpressionMath.stablehash(string key) number