Documentation
¶
Overview ¶
Package easing contains easing functions
Index ¶
- Constants
- func BackIn(t, b, c, d float64) float64
- func BackInOut(t, b, c, d float64) float64
- func BackOut(t, b, c, d float64) float64
- func BounceIn(t, b, c, d float64) float64
- func BounceInOut(t, b, c, d float64) float64
- func BounceOut(t, b, c, d float64) float64
- func CircIn(t, b, c, d float64) float64
- func CircInOut(t, b, c, d float64) float64
- func CircOut(t, b, c, d float64) float64
- func CubicIn(t, b, c, d float64) float64
- func CubicInOut(t, b, c, d float64) float64
- func CubicOut(t, b, c, d float64) float64
- func ElasticIn(t, b, c, d float64) float64
- func ElasticInOut(t, b, c, d float64) float64
- func ElasticOut(t, b, c, d float64) float64
- func ExpoIn(t, b, c, d float64) float64
- func ExpoInOut(t, b, c, d float64) float64
- func ExpoOut(t, b, c, d float64) float64
- func Linear(t, b, c, d float64) float64
- func QuadIn(t, b, c, d float64) float64
- func QuadInOut(t, b, c, d float64) float64
- func QuadOut(t, b, c, d float64) float64
- func QuintIn(t, b, c, d float64) float64
- func QuintInOut(t, b, c, d float64) float64
- func QuintOut(t, b, c, d float64) float64
- func SineIn(t, b, c, d float64) float64
- func SineInOut(t, b, c, d float64) float64
- func SineOut(t, b, c, d float64) float64
- type Easing
Constants ¶
View Source
const DoublePi = math.Pi * 2
DoublePi is 2 * Pi
Variables ¶
This section is empty.
Functions ¶
func BounceInOut ¶
BounceInOut acceleration until halfway, then deceleration
func CubicInOut ¶
CubicInOut acceleration until halfway, then deceleration
func ElasticInOut ¶
ElasticInOut acceleration until halfway, then deceleration
func ElasticOut ¶
ElasticOut decelerating to zero velocity
func QuintInOut ¶
QuintInOut acceleration until halfway, then deceleration
Types ¶
Click to show internal directories.
Click to hide internal directories.