Skip to content

v0.3.0

Choose a tag to compare

@dhh dhh released this 10 Aug 21:03
· 14 commits to master since this release

Terminal resize

Effects now rebuild when the terminal is resized mid-animation instead of drawing into a stale
canvas. The animation restarts against the new dimensions, so a window drag no longer leaves
torn or clipped output.

Performance

A broad pass over event dispatch, path/scene resolution, and the render loop roughly halves the
time the heavier effects take compared to 0.2.1:

At 200×50 cells 0.2.1 0.3.0
slide 147 ms 76 ms
beams 345 ms 181 ms
rings 1,492 ms 521 ms
waves 1,082 ms 374 ms
startup 0.9 ms 0.5 ms

Measured against the pinned upstream, the median speedup across the 35 work-bound effects moves
from 14.1× to 27.5× (range 17.1×–47.4×).

Docs

The README carries the full effects gallery, refreshed benchmark numbers, and a corrected
explanation of the two clock-bound effects (matrix, thunderstorm) — their runtime is a fixed
animation duration, so what ttfx buys there is a higher frame rate inside that window, not a
shorter one.