Experiment: tool.display gates this page; how gates work.

display

:EXPERIMENT: tool.display

A grid of w by h cells, each showing one of 16 palette entries. The page is a sink: it draws the frames it receives and renders nothing until a source holds its lease, so what you see above is the empty geometry of the selected preset. Query parameters select a preset and override its fields one at a time; a value outside its domain is rejected with an error naming the parameter, not clamped. An explicit w or h fixes the grid; otherwise a relay's caps may resize it. Frames are pal16 (one byte per cell) or hex (one text line per row); the sink never quantizes. A source on this page needs no socket: window.display.send(frame) with a Uint8Array of w*h indices, or postMessage({frame}) from another window, folds through the same reduction. The full contract, including the wire protocol and the numeric limits, is in the spec (v0.2.1). The core is wal-sh.tools.display.core; build with gmake tools-cljs and debug in isolation with gmake dev-tool TOOL=display.

Examples:

See experiments: this tool ships behind tool.display.