From eab50d1c040774351f332a1568fa332c377860bd Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 12 Nov 2026 11:32:59 -0300 Subject: canim: the introduction as one video, with a chapter on registers From the user. One scene, intro, in four chapters: memory, registers, the stack, code and meaning (210 s). The registers chapter builds the panel before the stack needs it: sixteen rows with their chains, rip pinned on the code band and rsp and rbp on the stack's, rdi opened into its parts as mov edi changes one byte, a call to malloc stepped over with its result in rax, the registers a scene never changes folded. The chapters join at seams that say their title and keep it as the clock's label; one recording (from push(9), no agent, the heap from --heap) and one clock. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/tools/chart.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'anim/tools') diff --git a/anim/tools/chart.py b/anim/tools/chart.py index 53324ff..0ca0eb1 100644 --- a/anim/tools/chart.py +++ b/anim/tools/chart.py @@ -84,16 +84,11 @@ motion.REGIONS.update({ "plain disasm": (64, 212, 880, ph(9)), "asan disasm": (976, 212, 880, ph(5)), "plain registers": (64, 472, 880, ph(4)), "asan stderr": (976, 376, 880, ph(6)), "plain frame": (64, 612, 880, ph(10)), "asan frame": (976, 612, 880, ph(10)), **words}, - # The introduction (motion.md, "A scene: the introduction"), chapter I: the address space in the - # program column, the dump in the state column (the texts beside the address space there while - # the dump is on the shelf); the camera at x2 on the dump for its first three beats. - "intro_memory": {"space": (64, 48, 880, 840), "dump": (976, 48, 880, 840), **words}, - # Chapter II: the texts on the left (the program column), main's rows and reverse's first under them, - # the registers built over the stack. - "intro_stack": {"text": (64, 48, 880, 536), "code": (64, 584, 880, 304), "registers": (976, 48, 880, 236), "stack": (976, 296, 880, 592), **words}, - # Chapter III: the aligned panel across both columns under its text above, then the working frame - # (the nodes lens as the list scene's), then the map. - "intro_code": {"text": (64, 48, 1792, 120), "aligned": (64, 168, 1792, 720), **words}, + # The introduction (motion.md, "A scene: the introduction"): one scene in four chapters, each + # building its parts in place, so its regions are the two columns: the program column (the + # address space, then the texts beside and the code, then the aligned code and the frame's + # source and disassembly) and the state column (the bytes, the registers, the stack). + "intro": {"program": (64, 48, 880, 840), "state": (976, 48, 880, 840), **words}, }) # `cut`: the gallery is the catalogue's pages, cut from one to the next (scenes/gallery.zig: 3, 6, 9.6, 13, 16, # 19.8, 21 and 24 s), not a scene: a page's first frame changes everything at once by design. -- cgit v1.3