riso-rooms
Installation
SKILL.md
Riso Rooms
Source: inspired by Kevin Ngo's "a small light, room by room" — https://x.com/kevin_t_ngo/status/2100238648218427563 (https://a-small-light-three.vercel.app/). A full worked scene lives in examples/listening-room.html; read it before drawing a detailed room.
A single index.html: a zero-dependency canvas engine plus scene code. Every mark is code — no images, no libraries. The look comes from four rules the engine enforces; your job is composition and storytelling.
The four rules of the look
- Nothing is a flat colour. Every fill = knock out to paper, then print an ink as a halftone screen at a tone (0–1). Four inks:
bluecoralyellowteal(real Riso drum colours). Overlapping inks multiply, so coral over teal gives a dark mixed tone — use that instead of adding colours. - Plates don't line up. Each ink is offset by ~1px (
MISREG) and screens sit at different angles. Don't "fix" this. - Lines are drawn by hand.
pen.lineresamples and wobbles every path with noise. Outlines areblue, 1.0–1.6 wide; interior detail 0.5–0.8. - It boils. The scene redraws at 12 fps and the wobble/misregistration seed changes every 4 frames (3 variants). Motion is small loops: steam, flicker, page turns, sway, ripples, a figure's bob.
Light cannot come from multiply: use pen.light(poly) / pen.glow(...) (they lift paper first, then print yellow).