summaryrefslogtreecommitdiff
path: root/anim/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-12 11:32:59 -0300
committerGabriel Schneider <[email protected]>2026-11-12 13:19:32 -0300
commiteab50d1c040774351f332a1568fa332c377860bd (patch)
tree0e727f9bf323e49aa6a2f55bb4fabd166aa9a492 /anim/test
parent38971edd9b49a802e6e726fb51d162df1bf58b83 (diff)
downloadcomputeranim-eab50d1c040774351f332a1568fa332c377860bd.tar.gz
computeranim-eab50d1c040774351f332a1568fa332c377860bd.zip
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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'anim/test')
-rw-r--r--anim/test/intro.script13
-rw-r--r--anim/test/intro_code.script12
-rw-r--r--anim/test/intro_memory.script13
-rw-r--r--anim/test/intro_stack.script10
4 files changed, 13 insertions, 35 deletions
diff --git a/anim/test/intro.script b/anim/test/intro.script
new file mode 100644
index 0000000..4b0a0f7
--- /dev/null
+++ b/anim/test/intro.script
@@ -0,0 +1,13 @@
+# The introduction, headless: it runs to an instant of each chapter of its
+# timeline without failing (I's bytes regrouping, II's rdi opened into its
+# parts, III's push, IV's map at the close).
+frames 2
+console set playing false
+console set t 14
+screenshot .zig-cache/canim/intro-memory.png
+console set t 99
+screenshot .zig-cache/canim/intro-registers.png
+console set t 143
+screenshot .zig-cache/canim/intro-stack.png
+console set t 999
+screenshot .zig-cache/canim/intro-end.png
diff --git a/anim/test/intro_code.script b/anim/test/intro_code.script
deleted file mode 100644
index 58811a4..0000000
--- a/anim/test/intro_code.script
+++ /dev/null
@@ -1,12 +0,0 @@
-# The introduction's third chapter, headless: it runs to four instants of its
-# timeline without failing (the bytes decoded, the two forms, the working frame, the map).
-frames 2
-console set playing false
-console set t 8
-screenshot .zig-cache/canim/intro_code-decode.png
-console set t 20
-screenshot .zig-cache/canim/intro_code-columns.png
-console set t 30
-screenshot .zig-cache/canim/intro_code-frame.png
-console set t 999
-screenshot .zig-cache/canim/intro_code-end.png
diff --git a/anim/test/intro_memory.script b/anim/test/intro_memory.script
deleted file mode 100644
index a36d36a..0000000
--- a/anim/test/intro_memory.script
+++ /dev/null
@@ -1,13 +0,0 @@
-# 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
diff --git a/anim/test/intro_stack.script b/anim/test/intro_stack.script
deleted file mode 100644
index 7bb93ca..0000000
--- a/anim/test/intro_stack.script
+++ /dev/null
@@ -1,10 +0,0 @@
-# The introduction's second chapter, headless: it runs to three instants of
-# its timeline without failing (the words becoming the stack, the push, the close).
-frames 2
-console set playing false
-console set t 2
-screenshot .zig-cache/canim/intro_stack-become.png
-console set t 6
-screenshot .zig-cache/canim/intro_stack-push.png
-console set t 999
-screenshot .zig-cache/canim/intro_stack-end.png