riso-windowseat
CLAUDE.md274 starsChanged 2 months agoMITView on GitHub
Procedural risograph films and still art. Each work is one self-contained index.html that draws every pixel in Canvas 2D: no libraries, fonts, images or network calls in the deliverable (the exception: attributed instrument recordings embedded in the sampled films below). External references may be viewed for research, never embedded. Skills: riso-film for animation, riso-still for images, riso-score for sound. Before drawing, read .claude/rules/riso-plates.md and docs/visual-development.md. Technical checks do not certify artistic quality; say what was and was not looked at…
- Installs packages
In this repository3 other files it gives its agents.
- riso-filmSkill
- riso-scoreSkill
- riso-stillSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Read every sheet you generate.
- Distinctive: line 40
No pure black ink. Darks are overprints.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
riso-windowseat
Procedural risograph films and still art. Each work is one self-contained index.html that draws
every pixel in Canvas 2D: no libraries, fonts, images or network calls in the deliverable
(the exception: attributed instrument recordings embedded in the sampled films below).
External references may be viewed for research, never embedded.
Skills: riso-film for animation, riso-still for images, riso-score for sound. Before
drawing, read .claude/rules/riso-plates.md and docs/visual-development.md. Technical checks
do not certify artistic quality; say what was and was not looked at or heard.
Setup and commands
cd tools && npm install && npm run setup && npm test, then run these in tools/:
node new-riso.mjs --kind film --duration 60 --out ../films/<name>/index.html
node verify.mjs ../films/<name>/index.html
node review.mjs ../films/<name>/index.html [--mp4 ../out/<name>.mp4]
node shoot.mjs ../films/<name>/index.html --range 6.6:6.9:0.0333333333 --sheet
node still.mjs ../prints/<name>/index.html --at 0 --out ../out/<name>.png
node render.mjs ../films/<name>/index.html --fps 30 --size 1080 --engine firefox
node audio.mjs ../films/<name>/index.html --twice --marks 6,13.9Read every sheet you generate. Range renders are silent; full exports mux renderAudio().
Firefox is the primary engine. out/ is disposable and git-ignored.
Invariants
- Expose
window.__riso = { duration, ready, seek(t), renderAudio?, marks?, shots? }; every tool drives it. seek(t)is pure in time, independent of seek history. Never callMath.random()in a render path; stable keys throughrngFor(key)prevent texture crawl. A hook flags violations infilms/.renderAudio()is exactlydurationlong at 48 kHz stereo and seeded like the picture;--twicechecks it.- Bake scenes at displayed size. Never resize a screened bitmap: it causes moiré. Film backing stores are 1080, independent of DPR; screen pitch is in device pixels.
- No pure black ink. Darks are overprints; keep full knockouts for bright subjects.
- Changing a
Score({ key })or anyrngForkey reseeds that output; freeze keys once approved. - Sampled films embed recordings as multi-MB single lines (Held near the top, others at the
end): grep with
-oorcut -c1-200, never print or full-read them.
Map
| Path | Holds |
films/window-seat/ | Showcase: sampled piano, piano-bank rebuild. |
films/roost/, held/, nonpareil/, eclosion/ | Sampled-score films: starlings, kite, marbling, monarch eclosion. |
films/passenger/ | Kit-scored film: a fog doodle comes alive. |
films/lumen/, films/emergence/ | 28 s shorts in the Resonance form. |
prints/ | Cabinet, Sceneries and Workings; workings donates the print kit. |
docs/ | The brief and craft docs; brief.md tables which to read when. |
studies/ | Craft, composition, scene-space and sound kits with A/B studies. |
.claude/skills/*/examples.md | Where techniques live in the shipped sources. |
tools/ | Scaffolding, inspection and export harness; README.md documents each tool. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

