diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-11 17:42:07 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-11 19:11:00 -0300 |
| commit | b54c6776953d3243ab5b8e676e747713827ab320 (patch) | |
| tree | d53be6cef4587b94531880af6479a1b5fa1aac39 /anim/scenes/sqlite.zig | |
| parent | 3093eb55ac4a7054f51f06ea2786b5f9c9ec73f6 (diff) | |
| download | computeranim-b54c6776953d3243ab5b8e676e747713827ab320.tar.gz computeranim-b54c6776953d3243ab5b8e676e747713827ab320.zip | |
canim: the disassembly under the source everywhere; rings
From the user. In every split the disassembly stays under the source;
registers a scene never changes fold three to a row, and the stack takes
the room: nine to twenty slots where it had six. The graph's first form
is rings: a loop a ring its blocks sit on, an inner loop a smaller ring
touching its parent, a way out leaving along the tangent; layers stay
for functions without loops. Its layout comes from the code alone and it
shows nothing from after the moment: a block not reached yet is quiet
and is reached, a fold of what is not reached yet opens when the run
arrives. A pane unrolls from its strip into its whole column and rolls
back. The sqlite scene's strips move before their panes.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'anim/scenes/sqlite.zig')
| -rw-r--r-- | anim/scenes/sqlite.zig | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/anim/scenes/sqlite.zig b/anim/scenes/sqlite.zig index e19a7be..36630bd 100644 --- a/anim/scenes/sqlite.zig +++ b/anim/scenes/sqlite.zig @@ -103,7 +103,7 @@ fn frame(s: *anim.Frame) void { const start = stopAt(rec, "sqlite3_step+", first); var at = canim.cursor(s, rec, start); - at.levels = .{ .source_rows = 10 }; + at.levels = .{ .source_rows = 8 }; at.journey(.moment, back); // The lens is the subject: the backtrace, eleven rows, over the // program column (where the kernel's side comes later), and over the @@ -213,7 +213,13 @@ fn frame(s: *anim.Frame) void { fade.in(s, kernel); s.wait(t.beat); const crossing = canim.syscalls.Plan.of(write); - at.step(s, back, crossing.step(), crossing.total); + // Back in `unixWrite`, 44 lines up from the call it waited on (more + // than the map's column of sqlite3.c holds round it): the panes fade + // through (24 f each way), the strips going over first. + var coming_back = crossing.step(); + coming_back.travel = 2 * t.move; + coming_back.total += coming_back.travel - t.step; + at.step(s, back, coming_back, coming_back.total); // Each field as the caption reaches it, 2 s apart: the picture is never still longer. says.line(s, "Page 2 as the kernel took it: `0d`, a table's leaf; 3 cells,\nat `0ff7 0fef 0fe6`: each a row at the page's end."); |
