summaryrefslogtreecommitdiff
path: root/examples/live/test/story.script
Commit message (Collapse)AuthorAge
* examples/live: the name a line defines a step larger, by its syntax nodeGabriel Schneider2 hours
| | | | | | | | | | | | | | | | | | | | | `paragraph` gives a span the scale 1.25 * 1.2 (`step`, 19.5 px against 16.25) where the grammar's class is the one queries/highlights.scm gives a definition's name node, `(definition name: (name) @keyword)`, and that node alone: chosen from the tree, not from the text's shape. The names are 12 pixels a character to the rest's 10, and a line with one is 26 high to 22. Everything of the last change lands on the mixed sizes, as everything is placed by sk.text.places: ranges, the carets, the problem's mark, the band, and the press that finds a number to drag. The scripts follow the layout: 220 on line 1 is now at x 182 to 212 (after the larger `out`), so the drags in test/live.script and test/story.script press at 187 instead of 181, every move 6 pixels on; the values they expect are the same. zig build test: 92 of 92 steps. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* examples/live: the storyboard as a script, two minutes typed through the editorGabriel Schneider2 hours
test/story.script plays the survey's storyboard (reports/demo1.md, the screen and the storyboard) through the editor and asserts State at each beat: a tone typed (`out` 8 instructions, heard on the stream); 220 dragged with the pointer to 330 (245 on the way); a gradient (`color` 10, ending in hsv); `beat`, `kick` and `thump` opened above, `out = thump`, the colour's brightness times `0.5 + kick` (both tapes now hold the kick's exp: the picture pulses because it says kick); the last `)` deleted (the problem at its byte, 162, the tape unchanged) and typed back; inside thump's `sin(...)` (`f*`, `;`, `mi(`), Alt-o hears and sees the call alone (17 instructions ending in sin) and Alt-i its argument (16), Escape the program again; `root` with `seq`, `bass`, `out = bass + thump`, `r` and the ring (`out` 35, `color` 31). Then the session played back, paused, sought to the tone and the kick (each the live moment, leaf by leaf), stepped back 30 frames (0.9 s, the gradient), live again at the kick with the beat made a third faster (`f2`, `;`, `r3`), and the first session sought to its end as it was: nothing overwritten. Each beat's screenshot lands in .zig-cache/story/, named by it; the test step plays it with test/live.script. The storyboard's programs use the square units (`x / 4`, `y / 2 + 0.5` for a gradient over the window). zig build test: 86 of 86 steps. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T