What Is Radiosity?

Posted on Tue 13 October 2026 in tech • Tagged with gman, renderman, radiosity, graphics

Radiosity renders the light that bounces off matte surfaces.

Since light from the bulb is focused downward, none of it reaches the ceiling directly. This is a problem because a ray tracer, which does not see indirect light, paints that ceiling black.

Direct light Radiosity
a white box with a red left wall and a green right wall and two white spheres on the floor, lit by a bulb hanging under a green cone shade; the ceiling, the shadows and the undersides of the spheres are black the same box with bounce light: the ceiling glows a soft warm grey around the shade, pinker toward the red wall and greener toward the green; the shadows under the spheres fill with a dim, tinted light; the left sphere blushes brick red on the side facing the red wall and the right sphere picks up green from the green wall

The left render, lit like …


Continue reading

What Is Ray Tracing?

Posted on Thu 01 October 2026 in tech • Tagged with gman, renderman, ray tracing, graphics

Ray tracing renders a picture by firing rays from the eye into a scene and asking what each one hits. Shadows, mirrors and glass all come from that one move.

A z-buffer renderer, the kind most games use, shades each surface from its lights alone. It never asks what stands …


Continue reading

PlayMMIX: MMIX in the Browser

Posted on Sat 05 September 2026 in tech • Tagged with mmix, rust, wasm, debugger, checksmix

The 2ad MMIX playground, playmmix, puts an MMIX machine in your browser.

MMIX is Knuth's 64-bit RISC architecture. I built checksmix to assemble and run programs for it. playmmix wraps that same engine with an editor and a live debugger, in Rust, Yew and WebAssembly.

Editing the source re-assembles and …


Continue reading

MMIXdb — a Tiptoe through the Tangents

Posted on Sun 09 August 2026 in tech • Tagged with mmix, rust, debugger, checksmix

Meet mmixdb, part of checksmix — a Unix-style debugger for MMIX. It lets you approach your program from the point of view of the machine state and that's how MMIX is meant to work.

MMIX

MMIX is Knuth's 64-bit RISC machine, the one that replaced MIX throughout the current edition of …


Continue reading

Dispatch a Claude Prompt Straight from Emacs's Kill Ring

Posted on Sat 01 August 2026 in tech • Tagged with emacs, claude, ai, productivity

Engineers write prompts as part of the job now, and being able to refer to them in an efficient manner is a valuable improvement to your workflow. Skip pasting file contents into Claude entirely: open find-file (C-x C-f) to surface the path Emacs already knows, select it and cut it …


Continue reading

Save 40% on Input Tokens with This Prompt Hack

Posted on Sat 01 August 2026 in tech • Tagged with ai, claude, llm, promptengineering

When Claude delegates a prompt to a sub-agent, it pastes the whole prompt text into that sub-agent's context by default — thousands of tokens, duplicated, every time. Tell it to hand over a file reference instead of the copied text, and that one change alone can cut input tokens 25-40%.