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/atoms.png | Bin 104960 -> 104822 bytes anim/test/gallery/graph-map.png | Bin 0 -> 158401 bytes anim/test/gallery/graph.png | Bin 0 -> 76868 bytes anim/test/gallery/hello.ztrace | Bin 0 -> 86647 bytes anim/test/gallery/loupe.png | Bin 237245 -> 237479 bytes anim/test/gallery/none.png | Bin 226785 -> 226735 bytes anim/test/gallery/rest.png | Bin 233677 -> 233721 bytes anim/test/gallery/rows.png | Bin 140384 -> 140530 bytes anim/test/gallery/sort.ztrace | Bin 0 -> 775616 bytes anim/test/gallery/step.png | Bin 232337 -> 232385 bytes anim/test/gallery/subject.png | Bin 209937 -> 210007 bytes 11 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 anim/test/gallery/graph-map.png create mode 100644 anim/test/gallery/graph.png create mode 100644 anim/test/gallery/hello.ztrace create mode 100644 anim/test/gallery/sort.ztrace (limited to 'anim/test/gallery') diff --git a/anim/test/gallery/atoms.png b/anim/test/gallery/atoms.png index 6e64609..8da5c01 100644 Binary files a/anim/test/gallery/atoms.png and b/anim/test/gallery/atoms.png differ diff --git a/anim/test/gallery/graph-map.png b/anim/test/gallery/graph-map.png new file mode 100644 index 0000000..b16caf6 Binary files /dev/null and b/anim/test/gallery/graph-map.png differ diff --git a/anim/test/gallery/graph.png b/anim/test/gallery/graph.png new file mode 100644 index 0000000..ea9695e Binary files /dev/null and b/anim/test/gallery/graph.png differ diff --git a/anim/test/gallery/hello.ztrace b/anim/test/gallery/hello.ztrace new file mode 100644 index 0000000..2ea1f5c Binary files /dev/null and b/anim/test/gallery/hello.ztrace differ diff --git a/anim/test/gallery/loupe.png b/anim/test/gallery/loupe.png index 346bd44..7f07d94 100644 Binary files a/anim/test/gallery/loupe.png and b/anim/test/gallery/loupe.png differ diff --git a/anim/test/gallery/none.png b/anim/test/gallery/none.png index 39f0206..bac000d 100644 Binary files a/anim/test/gallery/none.png and b/anim/test/gallery/none.png differ diff --git a/anim/test/gallery/rest.png b/anim/test/gallery/rest.png index 9dfdbe2..c368a30 100644 Binary files a/anim/test/gallery/rest.png and b/anim/test/gallery/rest.png differ diff --git a/anim/test/gallery/rows.png b/anim/test/gallery/rows.png index 7e6ba84..dd85690 100644 Binary files a/anim/test/gallery/rows.png and b/anim/test/gallery/rows.png differ diff --git a/anim/test/gallery/sort.ztrace b/anim/test/gallery/sort.ztrace new file mode 100644 index 0000000..a7aced1 Binary files /dev/null and b/anim/test/gallery/sort.ztrace differ diff --git a/anim/test/gallery/step.png b/anim/test/gallery/step.png index b85cba0..19ffc00 100644 Binary files a/anim/test/gallery/step.png and b/anim/test/gallery/step.png differ diff --git a/anim/test/gallery/subject.png b/anim/test/gallery/subject.png index d912474..182f8ba 100644 Binary files a/anim/test/gallery/subject.png and b/anim/test/gallery/subject.png differ -- cgit v1.3