From 2f27fbe0aa2da0f85d599c1e5f3ac14d025f590c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 13:22:07 -0300 Subject: canim: the graph of a function's blocks From the user. A blocks lens draws a function's basic blocks as boxes with their offsets and visit counts, loops in their lanes with the turn count, the path's last edges gold, the pc's block gold, and the disassembly as its view; leave and turn carry the mark along an edge, with the compare's flags framed for the edge chosen. On the map the graph takes the disassembly's place with its rows. The layout is a pure function, tested on sort, reverse and libc's open (twelve blocks the run never reached fold into six boxes). The sort scene walks one trip of its inner loop block by block and sprints the middle on the map. Every scene's linear rows carry a rule and a count at each block's head. The stack's panel no longer reads registers from the file on every draw: a frame is 20 ms where it was 57. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/test/gallery.script | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'anim/test/gallery.script') diff --git a/anim/test/gallery.script b/anim/test/gallery.script index 993ff7e..461f100 100644 --- a/anim/test/gallery.script +++ b/anim/test/gallery.script @@ -31,3 +31,11 @@ console set t 19.8 screenshot {dir}/loupe.png frames 1 expect-same-screenshot {dir}/loupe.png test/gallery/loupe.png 24 0 0 1920 1040 +console set t 21.8 +screenshot {dir}/graph.png +frames 1 +expect-same-screenshot {dir}/graph.png test/gallery/graph.png 24 0 0 1920 1040 +console set t 25.5 +screenshot {dir}/graph-map.png +frames 1 +expect-same-screenshot {dir}/graph-map.png test/gallery/graph-map.png 24 0 0 1920 1040 -- cgit v1.3