PingPingEase

class PingPingEase(val ease: Ease) : Ease

The original ease is mirrored, and then squashed to fit into the range 0..1. e.g. A LinearEase will be transformed from a straight line to an up-slope followed by a down-slope. If we play the ease, it starts a 0, reaches 1 at t=0.5 then returns to 0 at t=1.

Constructors

Link copied to clipboard
constructor(ease: Ease)

Properties

Link copied to clipboard
val ease: Ease

Functions

Link copied to clipboard
open override fun ease(t: Float): Float