diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 22:02:01 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 22:06:03 -0300 |
| commit | 8b5d0340c9f9b3168c67f04e57cfa03712ac992c (patch) | |
| tree | 66891f03e905731b8afa2689e86fe612675f4f35 /anim/src/disasm.zig | |
| parent | 36bb1c332a124cb4d437dd8386b267ee58310a5d (diff) | |
| download | computeranim-8b5d0340c9f9b3168c67f04e57cfa03712ac992c.tar.gz computeranim-8b5d0340c9f9b3168c67f04e57cfa03712ac992c.zip | |
canim: a continue is a wave; what arrives after a fade is plain; a pin only where its register points
From the designer's review of the SQLite scene. Between far stops the
changed registers strike two frames apart in pwndbg's order, and links
and pins set off with memory. A stack window or a dump that fades in
carries no marks of changes the viewer did not see. At rest a moved
register kept a pin at its old place as well, in every scene: gone. The
kernel's answer is filled before the return arrow leaves, and rax strikes
as it lands. Every dump has one reading, by type (a char quoted, a bool
by name); line numbers are as wide as the program's largest; pins' names
keep the side they came to. Names and measures follow the catalogue
(.loose, theme.metric.calls, time.pin, time.continue_wave).
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'anim/src/disasm.zig')
| -rw-r--r-- | anim/src/disasm.zig | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/anim/src/disasm.zig b/anim/src/disasm.zig index 6faaade..6c28516 100644 --- a/anim/src/disasm.zig +++ b/anim/src/disasm.zig @@ -158,11 +158,9 @@ pub const Disasm = struct { }; var last_line: ?u32 = null; - // A source of many lines (SQLite's) has wider numbers: what is - // right of them moves right by as much. - var widest: u32 = 0; - for (merged) |row| widest = @max(widest, row.line orelse 0); - const widen = rows.numberRoom(widest); + // A source of many lines (SQLite's) has wider numbers, as wide as + // its largest: what is right of them moves right by as much. + const widen = rows.numberRoom(rec.line_count); // The thread's runs: of the line the mark leaves and of the one it // goes to, each a span of rows; published sliding from the one to // the other with the advance (`threadRuns`). |
