smile.animation

package smile.animation

Members list

Type members

Classlikes

object Easing

Curves take normalized progress. Inputs are clamped to [0, 1]. Back curves deliberately overshoot that range on output. Any Double => Double can be used as a custom curve.

Curves take normalized progress. Inputs are clamped to [0, 1]. Back curves deliberately overshoot that range on output. Any Double => Double can be used as a custom curve.

Attributes

Source
Easing.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Easing.type
object Timing

Stateless timing, in seconds. Phase is measured in cycles, and positive phase starts ahead. Repeat wraps to zero at its boundary. PingPong and sine are continuous at theirs.

Stateless timing, in seconds. Phase is measured in cycles, and positive phase starts ahead. Repeat wraps to zero at its boundary. PingPong and sine are continuous at theirs.

Attributes

Source
Timing.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Timing.type
object Tween

Interpolation uses progress as given, so easing overshoot carries through. Apply an easing function first to clamp raw timing input. Color blends interpolate gamma-encoded sRGB channel values.

Interpolation uses progress as given, so easing overshoot carries through. Apply an easing function first to clamp raw timing input. Color blends interpolate gamma-encoded sRGB channel values.

Attributes

Source
Tween.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Tween.type