Interpolator

trait Interpolator[A]

An interpolator constructs a transducer from a starting value, a stopping value, and the number of elements or steps to produce between these values.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def closed(start: A, stop: A, steps: Long): Transducer[A]

Interpolate a closed interval, starting with start and ending with the first value after stop. The uneased case allows exact computation of the interval while the easing will probably introduce numeric error.

Interpolate a closed interval, starting with start and ending with the first value after stop. The uneased case allows exact computation of the interval while the easing will probably introduce numeric error.

def closed(start: A, stop: A, steps: Long, easing: Easing): Transducer[A]

Interpolate a closed interval, starting with start and ending with the first value after stop, and passed through the given easing.

Interpolate a closed interval, starting with start and ending with the first value after stop, and passed through the given easing.

def halfOpen(start: A, stop: A, steps: Long): Transducer[A]

Enumerate a half-open interval, starting with start and ending with stop. The uneased case allows exact computation of the interval while the easing will probably introduce numeric error.

Enumerate a half-open interval, starting with start and ending with stop. The uneased case allows exact computation of the interval while the easing will probably introduce numeric error.

def halfOpen(start: A, stop: A, steps: Long, easing: Easing): Transducer[A]

Enumerate a half-open interval, starting with start and ending with stop, and passed through the given easing.

Enumerate a half-open interval, starting with start and ending with stop, and passed through the given easing.