diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-11 02:11:12 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-11 04:20:25 -0300 |
| commit | 5922ee911b9a6604f60dc83be36ba9e6c9abac98 (patch) | |
| tree | 310b983f5205709e5db173f9f1bc8e8d499d24fe /anim/test | |
| parent | 64e64c74be6a3e46abeae8a30dd42efff91aaf91 (diff) | |
| download | computeranim-5922ee911b9a6604f60dc83be36ba9e6c9abac98.tar.gz computeranim-5922ee911b9a6604f60dc83be36ba9e6c9abac98.zip | |
canim: what the second review found, fixed
A system call stepped over plays in order: the registers set, the
crossing from the call row with the kernel's window under it, the stores
after rax. A strike covers the bytes that changed. The band's view
changes with the argument framing. In the descent a callee sits under
its caller's return row, and rows fade before others glide. The heap
scene follows the storyboard's nine captions: pushes at a run without
marks, each free and the malloc that takes the head back walked, the
tcache's loupe over the stack and closed with each advance, a chunk in
neither list drawn, the freed node travelling to malloc's row. In the
dive the map falls into the corner and becomes the minimap; on the map
boxes are as long as their rows. A narrow read is shown at its width.
The chart checks captions and one-frame changes.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'anim/test')
| -rw-r--r-- | anim/test/gallery/atoms.png | bin | 104341 -> 104255 bytes | |||
| -rw-r--r-- | anim/test/gallery/loupe.png | bin | 237028 -> 237157 bytes | |||
| -rw-r--r-- | anim/test/gallery/none.png | bin | 226452 -> 226437 bytes | |||
| -rw-r--r-- | anim/test/gallery/rest.png | bin | 232319 -> 232782 bytes | |||
| -rw-r--r-- | anim/test/gallery/rows.png | bin | 138579 -> 140407 bytes | |||
| -rw-r--r-- | anim/test/gallery/step.png | bin | 231969 -> 232046 bytes | |||
| -rw-r--r-- | anim/test/gallery/subject.png | bin | 208224 -> 208454 bytes | |||
| -rw-r--r-- | anim/test/recordings.zig | 10 |
8 files changed, 6 insertions, 4 deletions
diff --git a/anim/test/gallery/atoms.png b/anim/test/gallery/atoms.png Binary files differindex 796c202..e18052b 100644 --- a/anim/test/gallery/atoms.png +++ b/anim/test/gallery/atoms.png diff --git a/anim/test/gallery/loupe.png b/anim/test/gallery/loupe.png Binary files differindex 750c6fd..8b63c1d 100644 --- a/anim/test/gallery/loupe.png +++ b/anim/test/gallery/loupe.png diff --git a/anim/test/gallery/none.png b/anim/test/gallery/none.png Binary files differindex 5fed856..b850f99 100644 --- a/anim/test/gallery/none.png +++ b/anim/test/gallery/none.png diff --git a/anim/test/gallery/rest.png b/anim/test/gallery/rest.png Binary files differindex abe30f0..f2869e4 100644 --- a/anim/test/gallery/rest.png +++ b/anim/test/gallery/rest.png diff --git a/anim/test/gallery/rows.png b/anim/test/gallery/rows.png Binary files differindex e32d4b4..de8580b 100644 --- a/anim/test/gallery/rows.png +++ b/anim/test/gallery/rows.png diff --git a/anim/test/gallery/step.png b/anim/test/gallery/step.png Binary files differindex ea3c6f1..8f80f5f 100644 --- a/anim/test/gallery/step.png +++ b/anim/test/gallery/step.png diff --git a/anim/test/gallery/subject.png b/anim/test/gallery/subject.png Binary files differindex 4524a25..b779060 100644 --- a/anim/test/gallery/subject.png +++ b/anim/test/gallery/subject.png diff --git a/anim/test/recordings.zig b/anim/test/recordings.zig index 3634ee9..38798af 100644 --- a/anim/test/recordings.zig +++ b/anim/test/recordings.zig @@ -90,12 +90,14 @@ test "a walked step is as long as what it changed: fire, a slot a level, the hol var frame: anim.Frame = .{ .t = 0, .clock = 0, .in = undefined, .pointer = .{ 0, 0 }, .arena = arena.allocator() }; scene.frame(&frame); const t = canim.theme.time; - // main's line calls fib(5): registers, the stack, the call, 0.30 s - // apart; the call's node when the projection from its way back arrives. + // main's line calls fib(5): its two registers (rdi, rsp) 6 f apart, + // the stack 0.30 s after the second, the call's node when the + // projection from its way back arrives. const from = rec.lineMoment(10, rec.call("main", 0).enter); const call = scene.at.reading(from, rec.next(.line, from)); - try std.testing.expectApproxEqAbs(@as(f32, 2 * t.cascade), call.at[1], 1e-4); - try std.testing.expectApproxEqAbs(@as(f32, 2 * t.cascade + t.project.bracket + t.project.far), call.at[2], 1e-4); + const second: f32 = 6.0 / 60.0; + try std.testing.expectApproxEqAbs(@as(f32, 2 * t.cascade + second), call.at[1], 1e-4); + try std.testing.expectApproxEqAbs(@as(f32, 2 * t.cascade + second + t.project.bracket + t.project.far), call.at[2], 1e-4); try expect(call.total > 2.0 and call.total < 3.5); // A line that changes nothing shown: fire, advance, rest. var quiet = scene.at; |
