diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-16 21:28:20 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-16 21:28:20 -0300 |
| commit | 6933f99ddb2d7103515d26838496309a807bba26 (patch) | |
| tree | 991c2fe7d4a57957222876e190fa4d16a0fb889c /examples/noc/test/flow_field.script | |
| parent | 82fca5c9f29124f37f6dcd08e73e6999ce44a69d (diff) | |
| download | sketchbook-6933f99ddb2d7103515d26838496309a807bba26.tar.gz sketchbook-6933f99ddb2d7103515d26838496309a807bba26.zip | |
Move standalone sketches into sketchbook examples
Diffstat (limited to 'examples/noc/test/flow_field.script')
| -rw-r--r-- | examples/noc/test/flow_field.script | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/noc/test/flow_field.script b/examples/noc/test/flow_field.script new file mode 100644 index 0000000..ceb44ad --- /dev/null +++ b/examples/noc/test/flow_field.script @@ -0,0 +1,15 @@ +# Vehicles settle into the field; space hides the arrows and shows them again; +# a click makes a new field (a new seed from the generator in State). +expect flowfield.seed 9503 +frames 90 +key space +expect debug false +frames 30 +key space +expect debug true +click 320 180 +expect flowfield.seed 2947 +frames 60 +expect vehicles[0].position[0] 168.33 ~0.01 +expect vehicles[0].position[1] 224.94 ~0.01 +screenshot .zig-cache/e2e/flow_field.png |
