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/test/intro_memory.script | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 anim/test/intro_memory.script (limited to 'anim/test/intro_memory.script') diff --git a/anim/test/intro_memory.script b/anim/test/intro_memory.script new file mode 100644 index 0000000..a36d36a --- /dev/null +++ b/anim/test/intro_memory.script @@ -0,0 +1,13 @@ +# The introduction's first chapter, headless: it runs to four instants of its +# timeline without failing (the bytes regrouping, the address space enlarged, +# the dump tied to its place, the close). +frames 2 +console set playing false +console set t 14 +screenshot .zig-cache/canim/intro_memory-words.png +console set t 40 +screenshot .zig-cache/canim/intro_memory-segments.png +console set t 50 +screenshot .zig-cache/canim/intro_memory-place.png +console set t 999 +screenshot .zig-cache/canim/intro_memory-end.png -- cgit v1.3