Feature/adaptive crossfade window #50

Merged
ilia merged 7 commits from feature/adaptive-crossfade-window into main 2026-06-06 06:05:09 +00:00
Showing only changes of commit 99e9a1fb2c - Show all commits
@@ -15,6 +15,11 @@
const WINDOW_RATIO = 1 / 3; const WINDOW_RATIO = 1 / 3;
/** /**
* Smallest band for a non-empty line — guarantees at least one crossfading char. * Smallest band for a non-empty line — guarantees at least one crossfading char.
*
* Accepted tradeoff: short lines now get a band of 12, so a fast slider drag
* can unmount a char before its ~100ms opacity crossfade finishes, a slight pop.
* Worth it for the "bulk committed, small band shimmering" look on short lines;
* raising this trades that pop back for less committed bulk.
*/ */
const WINDOW_MIN = 1; const WINDOW_MIN = 1;
/** /**