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/koch.script | |
| parent | 82fca5c9f29124f37f6dcd08e73e6999ce44a69d (diff) | |
| download | sketchbook-6933f99ddb2d7103515d26838496309a807bba26.tar.gz sketchbook-6933f99ddb2d7103515d26838496309a807bba26.zip | |
Move standalone sketches into sketchbook examples
Diffstat (limited to 'examples/noc/test/koch.script')
| -rw-r--r-- | examples/noc/test/koch.script | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/noc/test/koch.script b/examples/noc/test/koch.script new file mode 100644 index 0000000..e658776 --- /dev/null +++ b/examples/noc/test/koch.script @@ -0,0 +1,20 @@ +# The book's picture (five generations, 1024 segments), then each click +# applies the rules once more, and after 8 the curve starts over. +expect generation 5 +frames 2 +screenshot .zig-cache/e2e/koch.png +click 320 180 +expect generation 6 +click 320 180 +click 320 180 +expect generation 8 +frames 1 +screenshot .zig-cache/e2e/koch-8.png +click 320 180 +expect generation 0 +frames 1 +screenshot .zig-cache/e2e/koch-0.png +click 320 180 +expect generation 1 +frames 1 +screenshot .zig-cache/e2e/koch-1.png |
