summaryrefslogtreecommitdiff
path: root/examples/vecanim/test/live.script
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-16 21:28:20 -0300
committerGabriel Schneider <[email protected]>2026-11-16 21:28:20 -0300
commit6933f99ddb2d7103515d26838496309a807bba26 (patch)
tree991c2fe7d4a57957222876e190fa4d16a0fb889c /examples/vecanim/test/live.script
parent82fca5c9f29124f37f6dcd08e73e6999ce44a69d (diff)
downloadsketchbook-6933f99ddb2d7103515d26838496309a807bba26.tar.gz
sketchbook-6933f99ddb2d7103515d26838496309a807bba26.zip
Move standalone sketches into sketchbook examples
Diffstat (limited to 'examples/vecanim/test/live.script')
-rw-r--r--examples/vecanim/test/live.script23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/vecanim/test/live.script b/examples/vecanim/test/live.script
new file mode 100644
index 0000000..a3ddcdc
--- /dev/null
+++ b/examples/vecanim/test/live.script
@@ -0,0 +1,23 @@
+# Plays the live scene headless: it holds at each pause until a click, the
+# dots follow the pointer, and the guides draw over everything.
+frames 150
+expect t 2
+screenshot .zig-cache/e2e/live-title.png
+click 640 360
+move 900 360
+frames 300
+screenshot .zig-cache/e2e/live-wave.png
+key g
+frames 1
+screenshot .zig-cache/e2e/live-guides.png
+key g
+click 640 360
+frames 150
+screenshot .zig-cache/e2e/live-damped.png
+key b
+expect backend cpu
+frames 1
+screenshot .zig-cache/e2e/live-damped-cpu.png
+click 640 360
+frames 120
+screenshot .zig-cache/e2e/live-end.png