easings

package
v0.0.0-...-468adaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2019 License: Zlib Imports: 1 Imported by: 0

README

easings GoDoc

Useful easing functions for values animation.

A port of Robert Penner's easing equations.

screenshot

Documentation

Overview

Package easings - Useful easing functions for values animation

A port of Robert Penner's easing equations (http://robertpenner.com/easing/)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackIn

func BackIn(t, b, c, d float32) float32

BackIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func BackInOut

func BackInOut(t, b, c, d float32) float32

BackInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func BackOut

func BackOut(t, b, c, d float32) float32

BackOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func BounceIn

func BounceIn(t, b, c, d float32) float32

BounceIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func BounceInOut

func BounceInOut(t, b, c, d float32) float32

BounceInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func BounceOut

func BounceOut(t, b, c, d float32) float32

BounceOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func CircIn

func CircIn(t, b, c, d float32) float32

CircIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func CircInOut

func CircInOut(t, b, c, d float32) float32

CircInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func CircOut

func CircOut(t, b, c, d float32) float32

CircOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func CubicIn

func CubicIn(t, b, c, d float32) float32

CubicIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func CubicInOut

func CubicInOut(t, b, c, d float32) float32

CubicInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func CubicOut

func CubicOut(t, b, c, d float32) float32

CubicOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func ElasticIn

func ElasticIn(t, b, c, d float32) float32

ElasticIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func ElasticInOut

func ElasticInOut(t, b, c, d float32) float32

ElasticInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func ElasticOut

func ElasticOut(t, b, c, d float32) float32

ElasticOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func ExpoIn

func ExpoIn(t, b, c, d float32) float32

ExpoIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func ExpoInOut

func ExpoInOut(t, b, c, d float32) float32

ExpoInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func ExpoOut

func ExpoOut(t, b, c, d float32) float32

ExpoOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func LinearIn

func LinearIn(t, b, c, d float32) float32

LinearIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func LinearInOut

func LinearInOut(t, b, c, d float32) float32

LinearInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func LinearNone

func LinearNone(t, b, c, d float32) float32

LinearNone easing t: current time, b: begInnIng value, c: change In value, d: duration

func LinearOut

func LinearOut(t, b, c, d float32) float32

LinearOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func QuadIn

func QuadIn(t, b, c, d float32) float32

QuadIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func QuadInOut

func QuadInOut(t, b, c, d float32) float32

QuadInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func QuadOut

func QuadOut(t, b, c, d float32) float32

QuadOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func SineIn

func SineIn(t, b, c, d float32) float32

SineIn easing t: current time, b: begInnIng value, c: change In value, d: duration

func SineInOut

func SineInOut(t, b, c, d float32) float32

SineInOut easing t: current time, b: begInnIng value, c: change In value, d: duration

func SineOut

func SineOut(t, b, c, d float32) float32

SineOut easing t: current time, b: begInnIng value, c: change In value, d: duration

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL