summaryrefslogtreecommitdiff
path: root/tools/demos/pdf-scroll.txt
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:53:14 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:21:29 -0300
commitb5f8c6d173ccebefb6f08192873a96bcc9f86cd9 (patch)
tree895ef81f75b64e4167f3812391965b4e7fe8a8d7 /tools/demos/pdf-scroll.txt
parentdbdd21d8ebfaaedb5675a457aa385b97450237f5 (diff)
downloadpardes-b5f8c6d173ccebefb6f08192873a96bcc9f86cd9.tar.gz
pardes-b5f8c6d173ccebefb6f08192873a96bcc9f86cd9.zip
FrameStats: the timedemos leave the binary: PARDES_FRAMES_DEMO names a text script (parseScript: `<ms> [<n>x<every>] <action>` a line, a wheel, touch, key, keys, phase, click, rail_wheel, paste, exec or end), the fifteen compiled ones are tools/demos/*.txt, each read back step for step identical to its builder before the builders went (11,401 steps the binary no longer carries: the Debug binary's .data.rel.ro 8,566,256 to 7,944,088 bytes, an idle detached session's RSS 38.3 to 37.3 MB), and the keystroke one is test/perf.zig's own data, parsed for its tty and written beside its files for its window; a window whose script does not read does not start; a test reads every script in tools/demos
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'tools/demos/pdf-scroll.txt')
-rw-r--r--tools/demos/pdf-scroll.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/demos/pdf-scroll.txt b/tools/demos/pdf-scroll.txt
new file mode 100644
index 00000000..0aa2316b
--- /dev/null
+++ b/tools/demos/pdf-scroll.txt
@@ -0,0 +1,22 @@
+# pdf-scroll: a PDF's strip put through what moves it (anim 11): a wheel's
+# notches, then spun; PageDown held; the far jumps ge and gg; a Look at a
+# page and Back; then slow: a notch at a time, and a touchpad's drag a pixel
+# or so a frame.
+1500 exec Look ../../docs/design.pdf
+3500 phase spin
+3500 7x150 wheel 1
+4408 59x8 wheel 1
+5480 30x8 wheel -1
+6320 phase held-pagedown
+6320 20x33 key page_down
+7580 phase far-jump
+7580 1x20 keys g e
+8380 2x20 key g
+9180 exec Look ../../docs/design.pdf:12
+9980 key ^o
+10780 phase slow-notches
+10780 8x300 wheel 1
+13180 phase slow-touch
+13180 120x16 touch 0.06
+15700 phase done
+15700 end