Streaming Text
Tegaki can animate text as it arrives from a streaming API, making it perfect for AI chat interfaces.
Approach
Section titled “Approach”Use uncontrolled mode — it automatically tracks the growing text and animates new characters as they arrive. The catchUp option gently speeds up playback when there’s buffered text, so the animation stays close to the stream without jumping.
Update text as chunks arrive from your API — Tegaki handles the rest.
Tuning
Section titled “Tuning”speed— base playback speed multiplier (default1). Higher values write faster.catchUp— how aggressively the animation speeds up to close the gap when text arrives faster than it can be drawn.0disables catch-up (default). Typical range:0.2–2.
Live demo
Section titled “Live demo”See the chat demo on the homepage for an example of streaming handwriting animation.