Functions
bezier
- bezier(c1: Vec2, h1: Vec2, h2: Vec2, c2: Vec2): EasingFunc
Parameters
c1: Vec2
h1: Vec2
h2: Vec2
c2: Vec2
cubicBezier
- cubicBezier(h1X: number, h1Y: number, h2X: number, h2Y: number): EasingFunc
Parameters
h1X: number
h1Y: number
h2X: number
h2Y: number
easeInCubic
- easeInCubic(t: number): number
Parameters
Returns number
easeInOutCubic
- easeInOutCubic(t: number): number
Parameters
Returns number
easeInOutQuad
- easeInOutQuad(t: number): number
Parameters
Returns number
easeInOutQuart
- easeInOutQuart(t: number): number
Parameters
Returns number
easeInOutQuint
- easeInOutQuint(t: number): number
Parameters
Returns number
easeInQuad
- easeInQuad(t: number): number
Parameters
Returns number
easeInQuart
- easeInQuart(t: number): number
Parameters
Returns number
easeInQuint
- easeInQuint(t: number): number
Parameters
Returns number
easeOutCubic
- easeOutCubic(t: number): number
Parameters
Returns number
easeOutQuad
- easeOutQuad(t: number): number
Parameters
Returns number
easeOutQuart
- easeOutQuart(t: number): number
Parameters
Returns number
easeOutQuint
- easeOutQuint(t: number): number
Parameters
Returns number
linear
- linear(t: number): number
Parameters
Returns number
sigmoid
Parameters
smoothstep
- smoothstep(min: number, max: number, value: number): number
Parameters
min: number
max: number
value: number
Returns number