From 6933f99ddb2d7103515d26838496309a807bba26 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 16 Nov 2026 21:28:20 -0300 Subject: Move standalone sketches into sketchbook examples --- examples/vecanim/test/intro.script | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 examples/vecanim/test/intro.script (limited to 'examples/vecanim/test/intro.script') diff --git a/examples/vecanim/test/intro.script b/examples/vecanim/test/intro.script new file mode 100644 index 0000000..75ce751 --- /dev/null +++ b/examples/vecanim/test/intro.script @@ -0,0 +1,29 @@ +# Plays the intro headless on the GPU, with screenshots along the way, +# then the same instants on the CPU renderer. +frames 60 +screenshot .zig-cache/e2e/title.png +console set t 7.5 +frames 1 +screenshot .zig-cache/e2e/shapes.png +console set t 13 +frames 1 +screenshot .zig-cache/e2e/morph.png +console set t 16.5 +frames 1 +screenshot .zig-cache/e2e/zoom.png +console set t 24 +frames 1 +screenshot .zig-cache/e2e/text.png +key b +expect backend cpu +console set t 13 +frames 1 +screenshot .zig-cache/e2e/morph-cpu.png +console set t 24 +frames 1 +screenshot .zig-cache/e2e/text-cpu.png +key g +expect guides true +console set t 16.5 +frames 1 +screenshot .zig-cache/e2e/guides.png -- cgit v1.3