Effect

io.worxbend.tui.runtime.Effect
See theEffect companion trait
object Effect

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Effect.type

Members list

Value members

Concrete methods

def coalesce(duration: FiniteDuration, easing: Easing, seed: Int): Effect

Cells materialize in a seeded pseudo-random order (tachyonfx's coalesce).

Cells materialize in a seeded pseudo-random order (tachyonfx's coalesce).

Attributes

def delay(pause: FiniteDuration, effect: Effect): Effect

Waits pause before effect starts (the effect is held at progress zero during the wait).

Waits pause before effect starts (the effect is held at progress zero during the wait).

Attributes

def dissolve(duration: FiniteDuration, easing: Easing, seed: Int): Effect

Cells dissolve away in a seeded pseudo-random order.

Cells dissolve away in a seeded pseudo-random order.

Attributes

def fadeIn(duration: FiniteDuration, easing: Easing): Effect

Content fades up from the background: cell colors interpolate from black to their rendered values.

Content fades up from the background: cell colors interpolate from black to their rendered values.

Attributes

def fadeOut(duration: FiniteDuration, easing: Easing): Effect

Content fades away to black.

Content fades away to black.

Attributes

def parallel(effects: Effect*): Effect

Runs effects simultaneously; done when the longest finishes.

Runs effects simultaneously; done when the longest finishes.

Attributes

def pulse(period: FiniteDuration): Effect

Endless brightness oscillation with the given period, which is clamped to at least one millisecond.

Endless brightness oscillation with the given period, which is clamped to at least one millisecond.

Attributes

def repeat(effect: Effect, times: Int): Effect

Repeats effect times times; times <= 0 plays it not at all.

Repeats effect times times; times <= 0 plays it not at all.

Attributes

def sequence(effects: Effect*): Effect

Runs effects one after another.

Runs effects one after another.

Attributes

def slideInFromRight(duration: FiniteDuration, easing: Easing): Effect

Content slides in from the right edge.

Content slides in from the right edge.

Attributes

def sweepIn(duration: FiniteDuration, easing: Easing): Effect

Content reveals column by column, left to right.

Content reveals column by column, left to right.

Attributes

def typewriter(duration: FiniteDuration, easing: Easing): Effect

Cells reveal in reading order (row-major), like typing.

Cells reveal in reading order (row-major), like typing.

Attributes