Function: lerpText()
lerpText(
from,to,t):string
Defined in: attributes/text/lerp.ts:7
Lerp between two strings by holding the longest common prefix and suffix
fixed, then shrinking the differing middle of from to empty and growing
it back as the middle of to. Degenerates to a single phase for pure
append/prepend/truncate cases.
Parameters
from
string
to
string
t
number
Returns
string