From 15de88cf82c187635c1989e91bfa639a10304066 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 20:08:07 -0300 Subject: canim: a column of text as an experiment; the disassembly tied to the stack From the user. A scene may set its text in a column beside the panes a beat is about: col.beat names the panes and their rows, where the text is placed (beside, below, above, or on a drawing) and what it is level with; panes the beat leaves out fold to their title bars on a shelf, their changes struck there. Tried as two scenes beside the originals: the call followed down (column) and a bubble on sort's rings (column_sort). annotation = .tied names the word an instruction touched and draws a touch to its stack row; offsets count from the frame's base; rsp's pin travels with its amount before the stack follows; .whole keeps the full chain. carry = .arrow draws a value's way between memory and a register. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/src/theme.zig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'anim/src/theme.zig') diff --git a/anim/src/theme.zig b/anim/src/theme.zig index 8d4b044..90ad36b 100644 --- a/anim/src/theme.zig +++ b/anim/src/theme.zig @@ -767,6 +767,8 @@ pub const metric = struct { pub const tie = struct { pub const thread_x = 54; pub const link_lane = 950; + /// The `touch`'s, from a row of the disassembly to a word of the stack. + pub const touch_lane = 956; pub const projection_lane = 962; pub const radius = 8; pub const projection_radius = 6; @@ -1034,6 +1036,24 @@ pub const time = struct { pub const out = 0.20; pub const names = 0.20; }; + /// Under `tied` (design/README.md, `touch`, `carry`, `travel`, + /// `follow`): the touch draws `touch` (`touch_long` past six rows); the + /// carry `carry` (`carry_long` past eight); rsp's and rbp's pins travel + /// `stack_pin` to the next row and `stack_pin_row` a further one, + /// `stack_pin_most` at most (at a run `run_ease`, 2 f a row, `run_pin_most`); + /// the window follows `follow`, 2 f a further slot, `follow_most` at most. + pub const tied = struct { + pub const touch = 0.20; + pub const touch_long = 0.30; + pub const carry = 0.30; + pub const carry_long = 0.40; + pub const stack_pin = 0.40; + pub const stack_pin_row = 0.10; + pub const stack_pin_most = 0.80; + pub const run_pin_most = 16.0 / 60.0; + pub const follow = 0.40; + pub const follow_most = 0.60; + }; /// `leave` (and `turn`, round a ring's foot): the jump fires; the /// compare's chips framed as read from `chips` (the CPU's slot); the /// edge it takes drawn gold over `edge`, ending as the mark sets off at -- cgit v1.3