Interpolator

doodle.interact.animation.Interpolator
See theInterpolator companion object
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.

Attributes

Companion
object
Source
Interpolator.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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.

Attributes

Source
Interpolator.scala
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.

Attributes

Source
Interpolator.scala
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.

Attributes

Source
Interpolator.scala
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.

Attributes

Source
Interpolator.scala