summaryrefslogtreecommitdiff
path: root/src/glide.zig
Commit message (Collapse)AuthorAge
* tui: the tty's passes (the panel compositor, the glide's rows, chip shadows, ↵Gabriel Schneider13 days
| | | | | | | the thumb flash, the jump trail) draw on one panel_compositor.Frame, the canonical surface until a pass changes something and then the one copy the first such pass makes (Frame.own), where each pass made its own copy of the ~114 KB Surface and its cells, up to five a frame while motion ran; the glide's rows (glide.shifted, now panel_compositor.glideRows) move in place, walked from the side they move toward, and the three effects and their tests are the tty compositor's (panel_compositor.zig, as render-pipeline.md 9.2 has it); the compositor's tests compose through one helper and test "nothing drawn" as no copy made Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* drawing: dead code goes: colors.carryTheme and Motion.speed (no caller ↵Gabriel Schneider13 days
| | | | | | | anywhere), animation.progress (only its own tests called it), Layer.pointAt (never called), Glide.kick (one caller, the line now), a stale first column header in the frame dump, panes.zig's unused vaxis import Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* anim 12: the tty runs the GUI's motion system: the view's glide moves to ↵Gabriel Schneider2026-10-25
src/glide.zig (Glide, its step: find the view that moved, snapshot, measure, kick), the GUI keeps only its wheel notches and its pixel draw; the tty steps it each loop and draws it at whole rows (glide.shifted: the position rounded, never the step, the rows that left in the gap, a caret whose line rode the scroll carried with it, one that kept its row left still); rows that only disagree glide the core's lines instead of snapping; the snapshot harness's virtual clock runs a frame a wake while it moves