summaryrefslogtreecommitdiff
path: root/anim/scenes/fib.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/fib.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/fib.zig')
-rw-r--r--anim/scenes/fib.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/anim/scenes/fib.zig b/anim/scenes/fib.zig
index 7e5380c..5f958dd 100644
--- a/anim/scenes/fib.zig
+++ b/anim/scenes/fib.zig
@@ -27,7 +27,7 @@ fn frame(s: *anim.Frame) void {
const split = canim.layout.split.subject;
// From main's line, about to call fib(5), to where fib(5) has returned to it.
var at = canim.cursor(s, rec, rec.lineMoment(10, rec.call("main", 0).enter));
- at.levels = .{ .idea = .calls, .source_rows = 10 };
+ at.levels = .{ .idea = .calls, .source_rows = 8 };
at.journey(.line, call(rec, 0).exit.?);
const ctx = canim.context(s, at, .{ .split = split });
// The lens: every call of fib as a tree, beside the frames they are on the stack.