From 378379807fb4cd751e90808c8363caddb365bcd8 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 06:49:10 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/src/ties.zig | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'anim/src/ties.zig') diff --git a/anim/src/ties.zig b/anim/src/ties.zig index d3a9ec7..e25c34b 100644 --- a/anim/src/ties.zig +++ b/anim/src/ties.zig @@ -139,7 +139,11 @@ pub fn pinShows(now: cursors.Now, i: usize, target: enum { slot, node }) struct if (now.registerAge(i) != 0) return .{ .old = 1, .new = 1 }; if (now.resting()) return .{ .old = 0, .new = 1 }; const since = linkSince(now, i); - if (!now.walking()) return if (since >= 0) .{ .old = 0, .new = 1 } else .{ .old = 1, .new = 0 }; + // At a run the pin changes with the run's ease (8 f), never in a frame. + if (!now.walking()) { + const p = std.math.clamp(since / time.run_ease, 0, 1); + return .{ .old = 1 - p, .new = p }; + } const l = time.link; const arrives = l.after + linkTime(if (target == .slot) .slot else .node); return .{ @@ -180,8 +184,9 @@ pub const Ties = struct { defer stack_window = null; defer thread_waits = false; const now = g.cursor.now(at); - // Diving or surfacing, the panels are on their way: no ties. + // Diving or surfacing, the panels are on their way: no ties; nor while the map alone is looked at. for (@import("context.zig").zoomed) |z| if (z != null) return; + if (@import("map.zig").looking(f)) return; // In canvas pixels, `k` of them a unit: places come from panels anywhere. var raw: ui.Ui = .{ .f = f, .at = at }; raw.at.xf = .identity; -- cgit v1.3