Text Anim
An Anim that renders some text, which gets updated on each new frame.
To reference a text animation, just convert it to a string inside a Section.
Using one looks like this:
session {
val waitingAnim = textAnimOf(listOf("", ".", "..", "..."), frameDuration = 250.milliseconds)
section {
text("Thinking$waitingAnim")
}.runUntilSignal { ... }
}
Content copied to clipboard