Documentation ¶
Overview ¶
Package easings - Useful easing functions for values animation
A port of Robert Penner's easing equations (http://robertpenner.com/easing/)
Index ¶
- func BackIn(t, b, c, d float32) float32
- func BackInOut(t, b, c, d float32) float32
- func BackOut(t, b, c, d float32) float32
- func BounceIn(t, b, c, d float32) float32
- func BounceInOut(t, b, c, d float32) float32
- func BounceOut(t, b, c, d float32) float32
- func CircIn(t, b, c, d float32) float32
- func CircInOut(t, b, c, d float32) float32
- func CircOut(t, b, c, d float32) float32
- func CubicIn(t, b, c, d float32) float32
- func CubicInOut(t, b, c, d float32) float32
- func CubicOut(t, b, c, d float32) float32
- func ElasticIn(t, b, c, d float32) float32
- func ElasticInOut(t, b, c, d float32) float32
- func ElasticOut(t, b, c, d float32) float32
- func ExpoIn(t, b, c, d float32) float32
- func ExpoInOut(t, b, c, d float32) float32
- func ExpoOut(t, b, c, d float32) float32
- func LinearIn(t, b, c, d float32) float32
- func LinearInOut(t, b, c, d float32) float32
- func LinearNone(t, b, c, d float32) float32
- func LinearOut(t, b, c, d float32) float32
- func QuadIn(t, b, c, d float32) float32
- func QuadInOut(t, b, c, d float32) float32
- func QuadOut(t, b, c, d float32) float32
- func SineIn(t, b, c, d float32) float32
- func SineInOut(t, b, c, d float32) float32
- func SineOut(t, b, c, d float32) float32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackInOut ¶
BackInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func BounceIn ¶
BounceIn easing t: current time, b: begInnIng value, c: change In value, d: duration
func BounceInOut ¶
BounceInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func BounceOut ¶
BounceOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func CircInOut ¶
CircInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func CubicInOut ¶
CubicInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func CubicOut ¶
CubicOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func ElasticIn ¶
ElasticIn easing t: current time, b: begInnIng value, c: change In value, d: duration
func ElasticInOut ¶
ElasticInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func ElasticOut ¶
ElasticOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func ExpoInOut ¶
ExpoInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func LinearIn ¶
LinearIn easing t: current time, b: begInnIng value, c: change In value, d: duration
func LinearInOut ¶
LinearInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func LinearNone ¶
LinearNone easing t: current time, b: begInnIng value, c: change In value, d: duration
func LinearOut ¶
LinearOut easing t: current time, b: begInnIng value, c: change In value, d: duration
func QuadInOut ¶
QuadInOut easing t: current time, b: begInnIng value, c: change In value, d: duration
Types ¶
This section is empty.