summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-16 23:01:20 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit87e8d3dee3bd57d28c42672d35ae214bbc058b9a (patch)
tree1a58def35f4347685b52cf1be771b9d89b25f309 /examples
parent6b07c3b2ee86592a28a713b4c6c40007c28eb6b8 (diff)
downloadsketchbook-87e8d3dee3bd57d28c42672d35ae214bbc058b9a.tar.gz
sketchbook-87e8d3dee3bd57d28c42672d35ae214bbc058b9a.zip
README: talks in the Animation section: the Deck, gates, sub-animations, slides, a talk with a widget, export holds; the player's new keys
Diffstat (limited to 'examples')
-rw-r--r--examples/vecanim/README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/vecanim/README.md b/examples/vecanim/README.md
index 7627fe4..cc6dc0e 100644
--- a/examples/vecanim/README.md
+++ b/examples/vecanim/README.md
@@ -18,18 +18,19 @@ zig build export -- - --size 3840x2160 --fps 60 |
ffmpeg -f rawvideo -pix_fmt rgba -s 3840x2160 -r 60 -i - -pix_fmt yuv420p intro.mp4
```
-Keys: space pause, click to continue after a `pause`, left/right
-previous/next play, `,`/`.` step a frame, home/end, up/down speed, B GPU/CPU,
-L loop, G guides (bounding boxes, origins and the scene's axes, with scene
-coordinates and the pointer's); drag and wheel to look around, R to reset
-the view.
+Keys: click, space or page down for the next step of a scene that pauses
+(space plays and pauses one that does not), page up back a step, `]`/`[`
+next/previous slide, P play/pause, left/right previous/next play, `,`/`.`
+step a frame, home/end, up/down speed, B GPU/CPU, L loop, G guides
+(bounding boxes, origins and the scene's axes, with scene coordinates and
+the pointer's); drag and wheel to look around, R to reset the view.
- `scenes/intro.zig`, compiled: shapes, Pythagoras morphing from one
equation to the next, a camera move with an updater swinging an arrow,
Typst math and a paragraph.
- `scenes/live.zig`, live, presented like slides: a wave of dots whose
- height the timeline animates, whose phase is the wall clock, and which
- rise to meet the mouse.
+ height the timeline animates, whose phase runs on while a pause waits,
+ and which rise to meet the mouse.
`build.zig` lists the scenes with the script `zig build test` plays each
through (screenshots in `.zig-cache/e2e`). `-Dscene` picks the one `run`,