feat/display #8
Reference in New Issue
Block a user
Delete Branch "feat/display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
feat: display enhancements — SSAA rendering, slower scroll, animated gradient
Three visual improvements to the headline stream:
Super-sampled glyph rendering (_SSAA = 4)
Each headline is rendered internally at 4× pixel height, then downsampled with LANCZOS back to the original 8-row terminal height before the half-block pass. This preserves physical letter size while capturing finer curves, thin strokes, and diagonal edges — effectively 4× the pixel fidelity at no change in screen footprint.
Slower scroll (_SCROLL_DUR 3.75 → 5.625)
Scroll speed reduced to 2/3 of original, giving more time to read each headline.
Animated left-to-right gradient (GRAD_SPEED = 0.08)
The white-hot → green → dark gradient is no longer baked into blocks at creation time. Instead, _lr_gradient accepts a time-based offset parameter and is called each frame in the draw loop, making the bright edge traverse each word left to right in ~12.5s cycles. Applies to both the headline stream and ntfy message overlays.
_RENDER_Hfrom 16 to 8. 7274f57bbb