diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 06:13:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | c009f708e631700fb1d65ccba2c8229c10054528 (patch) | |
| tree | 9a8f1dd1e4a40e416dbc773bee6fdaeb9b3c7fb2 /README.md | |
| parent | 8dc369f343fda8f54756376728f4690386c20a69 (diff) | |
| download | sketchbook-c009f708e631700fb1d65ccba2c8229c10054528.tar.gz sketchbook-c009f708e631700fb1d65ccba2c8229c10054528.zip | |
examples/live: the README, the language on one page
examples/live/README.md: what the sketch is, how to run it (keys, the
console's replay verbs, capture, crossfade, the test and probe steps),
the language (its grammar and every builtin a line, from Lang.builtins),
the capacities, what it cannot say (no state between samples or frames:
no filters, feedback or reverb; the price of computing each sample alone
on the GPU and of exact replays) and how it works, with the probe's
numbers. Its example program parses (out 22 instructions, color 38).
The sketchbook README lists the example.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -31,6 +31,7 @@ The standalone example packages live in [`examples/`](examples/): - [`vecanim`](examples/vecanim/): vector animation scenes. Select one with `-Dscene=scenes/live.zig`. - [`micscope`](examples/micscope/): records the microphone or opens sound files, plays them either way, and shows waveform, spectrogram and spectrum; a tuner. - [`spheres`](examples/spheres/): the three-body problem on the GPU, each body a voice synthesised by a compute shader. +- [`live`](examples/live/): a tiny language for sound and picture, typed over its own picture: every line that parses is compiled to a tape one GPU interpreter runs per pixel and per sample. - [`talk.zig`](examples/talk.zig): a talk with a slider in it, a sketch that runs its own `anim.Deck` (`zig build test-talk` plays it). - [`manual.zig`](examples/manual.zig): Figure 2-1 of the Intel SDM comes alive, then ADD's opcode table is written row by row and its `80 /0 ib` turns into SUB's `80 /5 ib`: PDF pages as vector shapes and parts of them (`zig build manual -Dmanual=PDF`; see Animation, PDF pages and parts). |
