Easing

doodle.interact.easing.Easing
See theEasing companion trait
object Easing

Attributes

Companion
trait
Source
Easing.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Easing.type

Members list

Value members

Concrete methods

def apply(f: Double => Double): Easing

Construct an easing function from a Double => Double function

Construct an easing function from a Double => Double function

Attributes

Source
Easing.scala

Concrete fields

val back: Easing

Easing function that overshoots its destination and then smoothly comes back

Easing function that overshoots its destination and then smoothly comes back

Attributes

Source
Easing.scala
val circle: Easing

The easing function that moves in a circular path

The easing function that moves in a circular path

Attributes

Source
Easing.scala
val cubic: Easing

The cubic easing f(t) = t^3

The cubic easing f(t) = t^3

Attributes

Source
Easing.scala

The elastic easing function. Has a little bounce. Might not be correct.

The elastic easing function. Has a little bounce. Might not be correct.

Attributes

Source
Easing.scala

The identity easing function simply returns its input

The identity easing function simply returns its input

Attributes

Source
Easing.scala
val linear: Easing

Linear easing, is equivalent to the identity

Linear easing, is equivalent to the identity

Attributes

Source
Easing.scala

The quadratic easing f(t) = t^2

The quadratic easing f(t) = t^2

Attributes

Source
Easing.scala
val sin: Easing

The sin easing f(t) = sin(t * (Math.PI / 2))

The sin easing f(t) = sin(t * (Math.PI / 2))

Attributes

Source
Easing.scala