From 60e07feef401d9044db3a1c925cb9d1f6d20dac9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 23:46:02 -0300 Subject: canim: relations as one data-oriented subsystem; aim; the ASan pair; the introduction's chapters From the user. Relations between panes are one subsystem: per-frame tables of places and values in struct-of-arrays, owned by the frame; the kinds one table of data; a resolver of pure passes (join, filter, priority, cut) unit-tested on hand-written tables. Ported kinds draw byte-identical frames; a synthetic map of 4000 places and 6000 values resolves in 0.56 ms against the old table's 5.7. aim, a word holding a code address tied to its row, is the first new kind, off unless a scene turns it on. The ASan pair: one overflow built plain and with ASan, recorded by instruction; the frame as bytes eight a row; the plain run goes on alone in the column, its return address aimed at main's row until the letters reach it; the fault at ret. The introduction's three chapters are built and tested, not yet exported. Annotations, rows and scrolls that changed in one frame now fade; captions stand twelve seconds at most. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/tools/chart.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'anim/tools/chart.py') diff --git a/anim/tools/chart.py b/anim/tools/chart.py index 0f2894f..aa20e43 100644 --- a/anim/tools/chart.py +++ b/anim/tools/chart.py @@ -77,6 +77,22 @@ motion.REGIONS.update({ "sqlite": {**strips(subject(17), True), **words}, "zoom": {**strips(none(9), False), **words}, "gallery": {**strips(beside(13), True), **words}, + # The pair (src/pair.zig, `split`): the source shared across both columns, then each run's disassembly, + # registers and frame as bytes on its side of the seam; no strips. ASan's stderr comes in over its + # registers and its disassembly's lower rows once it has stopped. + "asan": {"source": (64, 48, 1792, ph(5)), + "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, empty), the registers built over the stack. + "intro_stack": {"text": (64, 48, 880, 840), "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}, }) # `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