From 706b9d98fdce29a58ffe5a8a5417d6b2810e6d2c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 24 Oct 2026 23:16:11 -0300 Subject: anim 12: the tty runs the GUI's motion system: the view's glide moves to src/glide.zig (Glide, its step: find the view that moved, snapshot, measure, kick), the GUI keeps only its wheel notches and its pixel draw; the tty steps it each loop and draws it at whole rows (glide.shifted: the position rounded, never the step, the rows that left in the gap, a caret whose line rode the scroll carried with it, one that kept its row left still); rows that only disagree glide the core's lines instead of snapping; the snapshot harness's virtual clock runs a frame a wake while it moves --- src/pardes.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index 829a7bfd..a1d1eef8 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -1,6 +1,7 @@ const std = @import("std"); pub const layout = @import("layout.zig"); pub const animation = @import("animation.zig"); +pub const glide = @import("glide.zig"); pub const FrameStats = @import("FrameStats.zig"); pub const Presentation = @import("Presentation.zig"); const uucode = @import("uucode"); @@ -483,6 +484,7 @@ test { _ = @import("Pipe.zig"); _ = @import("colors.zig"); _ = @import("surface.zig"); + _ = @import("glide.zig"); _ = @import("body_layer.zig"); _ = @import("draw.zig"); _ = @import("dump.zig"); // its tests ran nowhere before -- cgit v1.3