summaryrefslogtreecommitdiff
path: root/anim/scenes/heap.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-11 17:42:07 -0300
committerGabriel Schneider <[email protected]>2026-11-11 19:11:00 -0300
commitb54c6776953d3243ab5b8e676e747713827ab320 (patch)
treed53be6cef4587b94531880af6479a1b5fa1aac39 /anim/scenes/heap.zig
parent3093eb55ac4a7054f51f06ea2786b5f9c9ec73f6 (diff)
downloadcomputeranim-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/heap.zig')
-rw-r--r--anim/scenes/heap.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/anim/scenes/heap.zig b/anim/scenes/heap.zig
index 1f82766..d42da12 100644
--- a/anim/scenes/heap.zig
+++ b/anim/scenes/heap.zig
@@ -423,7 +423,7 @@ fn frame(s: *anim.Frame) void {
// From main's first line, `push(7)`.
var at = canim.cursor(s, rec, rec.lineMoment(24, main.enter));
at.journey(.line, rec.lineMoment(30, main.enter));
- at.levels = .{ .idea = .data, .source_rows = 10 };
+ at.levels = .{ .idea = .data, .source_rows = 8 };
const ctx = canim.context(s, at, .{ .split = canim.layout.split.subject });
// `head`, the program's global: where line 13 (`n->next = head;`) reads it, `[rip + X]`.
const head_at = globalOf(rec, lineIn(rec, "push", 0, 13));