summaryrefslogtreecommitdiff
path: root/anim/src/theme.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-11 02:11:12 -0300
committerGabriel Schneider <[email protected]>2026-11-11 04:20:25 -0300
commit5922ee911b9a6604f60dc83be36ba9e6c9abac98 (patch)
tree310b983f5205709e5db173f9f1bc8e8d499d24fe /anim/src/theme.zig
parent64e64c74be6a3e46abeae8a30dd42efff91aaf91 (diff)
downloadcomputeranim-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/src/theme.zig')
-rw-r--r--anim/src/theme.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/anim/src/theme.zig b/anim/src/theme.zig
index 0c646d8..78c1d7d 100644
--- a/anim/src/theme.zig
+++ b/anim/src/theme.zig
@@ -109,6 +109,8 @@ pub const layout = struct {
backtrace: Rect,
/// `bytes` rows of the lens's dump.
dump_rows: u32,
+ /// On the map: the rest of a column, where the stack goes on (`continued`).
+ more: Rect = .{ .x = 0, .y = 0, .w = 0, .h = 0 },
};
pub const split = struct {
/// The machine alone: fourteen lines over seventeen instructions;
@@ -657,6 +659,8 @@ pub const metric = struct {
pub const hang = 92;
pub const shadow = [2][2]f32{ .{ 12, 16 }, .{ 20, 26 } };
pub const stem = 4;
+ /// One hung from the band's view: its stem down the gutter's right lane, this far left of the state column.
+ pub const lane = 14;
};
/// A lens's lanes: projections 4 under its tag, links 8 above its bottom edge.
@@ -964,6 +968,9 @@ pub const time = struct {
pub const run_max_steps = 24;
/// What moves at a run (the mark, a card, an arrow) takes this long.
pub const run_ease = 8.0 / 60.0;
+ /// The minimap follows the frame this far behind: secondary action, it
+ /// never starts on a primary onset's frame.
+ pub const minimap_lag = 6.0 / 60.0;
/// A hurried step with this long or more is still a whole sentence,
/// said faster; with less, it is a run.
pub const walk_least = 0.70;