summaryrefslogtreecommitdiff
path: root/anim/build.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-11 09:41:45 -0300
committerGabriel Schneider <[email protected]>2026-11-11 10:14:30 -0300
commit390872b7bb9cdcf3e8095442af88af0dfcb40602 (patch)
treeab767cf46dfca036e61e0e19bb5e1c4772cb1d4d /anim/build.zig
parent378379807fb4cd751e90808c8363caddb365bcd8 (diff)
downloadcomputeranim-390872b7bb9cdcf3e8095442af88af0dfcb40602.tar.gz
computeranim-390872b7bb9cdcf3e8095442af88af0dfcb40602.zip
canim: what the verification review found, fixed
A register's chain reads memory as its panel shows it, and follows again only after the bytes land: rsi no longer shows what read returns before the kernel writes it. Bytes keep their old value through the arm and change at their own strike, in every dump, stack word and loupe. The dive lands once. Captions lead what they name: the longest still in the syscalls scene is 2.8 s where it was 13. Pins hold through a sprint; a row of a view carries the pin of the register that points at it; a left child's badge sits on its left shoulder; a log scrolls with the row that arrives. The zoom scene's camera holds the disassembly's rows and the stack in one view. Six programs, the title says now. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'anim/build.zig')
-rw-r--r--anim/build.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/anim/build.zig b/anim/build.zig
index 5601e39..54ff589 100644
--- a/anim/build.zig
+++ b/anim/build.zig
@@ -304,13 +304,15 @@ pub fn build(b: *std.Build) void {
test_step.dependOn(&scene.app.addScript(exe, b.path(b.fmt("test/{s}.script", .{name})), .{}).step);
for ([_][]const u8{ "1920x1080", "3840x2160" }) |size| {
- // The design's master: x264 from the raw frames, tagged bt709.
+ // The design's master: x264 from the raw frames, tagged bt709. No
+ // adaptive quantization: on a still page it re-quantized a glyph's
+ // edge as the rest of the frame moved, a column flickering (fib 7.45 s).
const video = b.addSystemCommand(&.{ "sh", "-c",
\\set -e
\\mkdir -p out
\\"$0" --state "$1" --export - --size "$2" --fps 60 |
\\ ffmpeg -loglevel error -y -f rawvideo -pix_fmt rgba -s "$2" -r 60 -i - \
- \\ -c:v libx264 -crf 14 -preset slow -g 600 -pix_fmt yuv420p \
+ \\ -c:v libx264 -crf 14 -preset slow -g 600 -x264-params aq-mode=0 -pix_fmt yuv420p \
\\ -colorspace bt709 -color_primaries bt709 -color_trc bt709 -color_range tv "$3"
});
video.addArtifactArg(exe);