Namespace SMART.helpers.mathFns
Defined in: mathFuncs.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
math-related helper fns
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
SMART.helpers.mathFns.addOne(num)
|
| <static> |
SMART.helpers.mathFns.basicLinStep(min, max, x)
|
| <static> |
SMART.helpers.mathFns.basicSmootherStep(x)
|
| <static> |
SMART.helpers.mathFns.basicSmoothStep(x)
|
| <static> |
SMART.helpers.mathFns.bias(t, b)
|
| <static> |
SMART.helpers.mathFns.clamp(val, min, max)
|
| <static> |
SMART.helpers.mathFns.cosd(d)
|
| <static> |
SMART.helpers.mathFns.degToRad(d)
|
| <static> |
SMART.helpers.mathFns.gain(t, g)
|
| <static> |
SMART.helpers.mathFns.lerp(f, a, b)
|
| <static> |
SMART.helpers.mathFns.linStep(min, max, x)
|
| <static> |
SMART.helpers.mathFns.pulse(edge0, edge1, x)
|
| <static> |
SMART.helpers.mathFns.radToDeg(r)
|
| <static> |
SMART.helpers.mathFns.sFitRng(x, x1, x2, y1, y2)
|
| <static> |
SMART.helpers.mathFns.simpleFilteredPulse(edge0, edge1, x, w)
|
| <static> |
SMART.helpers.mathFns.simpleFilterStep(e, x, w)
|
| <static> |
SMART.helpers.mathFns.sind(d)
|
| <static> |
SMART.helpers.mathFns.smooth(x, x1, x2)
|
| <static> |
SMART.helpers.mathFns.smootherStep(min, max, x)
|
| <static> |
SMART.helpers.mathFns.smoothStep(min, max, x)
|
| <static> |
SMART.helpers.mathFns.step(min, val)
|
| <static> |
SMART.helpers.mathFns.strip(num)
|
| <static> |
SMART.helpers.mathFns.tand(d)
|
| <static> |
SMART.helpers.mathFns.ucFitRng(x, x1, x2, y1, y2)
|
| <static> |
SMART.helpers.mathFns.x(none)
simple tester :)
|
| <static> |
SMART.helpers.mathFns.y()
|
Method Detail
<static>
SMART.helpers.mathFns.addOne(num)
- Parameters:
- num
<static>
SMART.helpers.mathFns.basicLinStep(min, max, x)
- Parameters:
- min
- max
- x
<static>
SMART.helpers.mathFns.basicSmootherStep(x)
- Parameters:
- x
<static>
SMART.helpers.mathFns.basicSmoothStep(x)
- Parameters:
- x
<static>
SMART.helpers.mathFns.bias(t, b)
- Parameters:
- t
- b
<static>
SMART.helpers.mathFns.clamp(val, min, max)
- Parameters:
- val
- min
- max
<static>
SMART.helpers.mathFns.cosd(d)
- Parameters:
- d
<static>
SMART.helpers.mathFns.degToRad(d)
- Parameters:
- d
<static>
SMART.helpers.mathFns.gain(t, g)
- Parameters:
- t
- g
<static>
SMART.helpers.mathFns.lerp(f, a, b)
- Parameters:
- f
- a
- b
<static>
SMART.helpers.mathFns.linStep(min, max, x)
- Parameters:
- min
- max
- x
<static>
SMART.helpers.mathFns.pulse(edge0, edge1, x)
- Parameters:
- edge0
- edge1
- x
<static>
SMART.helpers.mathFns.radToDeg(r)
- Parameters:
- r
<static>
SMART.helpers.mathFns.sFitRng(x, x1, x2, y1, y2)
- Parameters:
- x
- x1
- x2
- y1
- y2
<static>
SMART.helpers.mathFns.simpleFilteredPulse(edge0, edge1, x, w)
- Parameters:
- edge0
- edge1
- x
- w
<static>
SMART.helpers.mathFns.simpleFilterStep(e, x, w)
- Parameters:
- e
- x
- w
<static>
SMART.helpers.mathFns.sind(d)
- Parameters:
- d
<static>
SMART.helpers.mathFns.smooth(x, x1, x2)
- Parameters:
- x
- x1
- x2
<static>
SMART.helpers.mathFns.smootherStep(min, max, x)
- Parameters:
- min
- max
- x
<static>
SMART.helpers.mathFns.smoothStep(min, max, x)
- Parameters:
- min
- max
- x
<static>
SMART.helpers.mathFns.step(min, val)
- Parameters:
- min
- val
<static>
SMART.helpers.mathFns.strip(num)
- Parameters:
- num
<static>
SMART.helpers.mathFns.tand(d)
- Parameters:
- d
<static>
SMART.helpers.mathFns.ucFitRng(x, x1, x2, y1, y2)
- Parameters:
- x
- x1
- x2
- y1
- y2
<static>
{none}
SMART.helpers.mathFns.x(none)
simple tester :)
- Parameters:
- none
- Returns:
- console.log()
<static>
SMART.helpers.mathFns.y()