summaryrefslogtreecommitdiff
path: root/anim/src/theme.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-11 06:49:10 -0300
committerGabriel Schneider <[email protected]>2026-11-11 06:50:11 -0300
commit378379807fb4cd751e90808c8363caddb365bcd8 (patch)
treef84c7d0e7cbd42a9b9c93e791ab2b5376499d23d /anim/src/theme.zig
parent5922ee911b9a6604f60dc83be36ba9e6c9abac98 (diff)
downloadcomputeranim-378379807fb4cd751e90808c8363caddb365bcd8.tar.gz
computeranim-378379807fb4cd751e90808c8363caddb365bcd8.zip
canim: nothing changes in one frame; the map's space is used; the heap scene at its storyboard's length
The motion check counts a third of the one-frame changes it did: the minimap's changes fade, and a register's value, a flag, a role, a pin's names, a tag's note, a backtrace row, a call tree's node and a dump row crossfade where they changed at once. What still fires is named in the README; an encoder's keyframe and the gallery's cuts are exempt by name. No caption stands over twelve seconds or under its reading time. The heap scene is 78 s: what the storyboard does not narrate runs, and each free's line cascades onto its call row (line stepping stops at a breakpoint for that). On the map, leftover space holds the stack continued, dumps round what the registers and the stack point at, open loupes and the key: between 1% and 13% of a map is page, where it was 14% to 42%. 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.zig9
1 files changed, 9 insertions, 0 deletions
diff --git a/anim/src/theme.zig b/anim/src/theme.zig
index 78c1d7d..cb52287 100644
--- a/anim/src/theme.zig
+++ b/anim/src/theme.zig
@@ -111,6 +111,12 @@ pub const layout = struct {
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 },
+ /// On the map: the source going on, `continued`, where its column cannot hold it.
+ source_more: Rect = .{ .x = 0, .y = 0, .w = 0, .h = 0 },
+ /// On the map: the rest of the first two columns (under the backtrace,
+ /// under the disassembly), given to the dumps round what the registers
+ /// and the stack point at, the loupes open and the key (`map.Spare`).
+ spare: [2]Rect = @splat(.{ .x = 0, .y = 0, .w = 0, .h = 0 }),
};
pub const split = struct {
/// The machine alone: fourteen lines over seventeen instructions;
@@ -971,6 +977,9 @@ pub const time = struct {
/// 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;
+ /// And every change on it fades in over this many frames, a frame apart
+ /// from the lag: it is drawn this many times, each a frame later, averaged.
+ pub const minimap_fade = 6;
/// 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;