💬Comments welcome. To leave a note, select any text and click the note / highlight button that pops up — or open the panel with the tab at the top-right (‹). Notes are visible only inside our private review group.

1.3 How this book was made

This book is, in part, about generative AI — so it is only honest to say up front that it was also written with one. This short chapter is the headline version; the full methods account, with safeguards and a part-by-part breakdown of who did what, is the appendix How this book was created.

Where it came from. The book grew out of Frédo's computational photography course at MIT — two decades of lectures, slides, and problem sets are its backbone. That pre-existing material is large: roughly 305,000 words of lecture transcripts (automatic captions of the recorded lectures, captured by MIT's lecture-capture system and machine-transcribed), about 114,000 words of slide decks, and some 42,000 words of problem sets — call it 460,000 words of teaching, accumulated over years, before any of this writing began.

How it was written. It was then drafted with an AI collaborator (Claude), as a deliberate experiment in AI-assisted authoring: the outline, the figures, the prose, and even the book's own build tooling were co-developed with a model. The workflow keeps two living documents apart — an outline (an annotated specification of what the book says and shows) and the prose (how it reads) — and a compilation step turns the first into the second, the way a compiler turns source into a program. Crucially the arrow runs both ways: when the human author edits the prose, the change is triaged back to the right home so that re-compiling reproduces the author's corrections rather than forgetting them. Figures are not drawn by hand either; each is a small program that regenerates from source, so the figures and the prose can never quietly disagree.

Who did what. The honest division of labour is this. The AI was excellent at the things that are laborious but well-specified — drafting fluent prose from a tight, source-backed outline, writing and debugging figure code, and the mechanical bookkeeping (notation tables, cross-references, consistency sweeps) that no human enjoys. It was not trusted with judgment. A human chose the structure and the argument, decided what mattered and what to cut, caught the subtle errors that survive plausible-sounding prose, and owns every claim that remains.

A note on the numbers, honestly. It is tempting to tally "how much the human wrote," but the tally is easy to flatter. The prompts the author typed to steer the model come to about 40,500 words. The outline and the drafted chapters together come to about 735,000 words — but those are overwhelmingly model output, expanded from the prompts and grounded in the course corpus, not typed by hand. So the drafted prose is roughly 13× the typed direction, and the whole generated text about 18× — a measure of leverage, not of authorship. (An earlier version of this book's accounting counted the outline as "human writing" and reported a much smaller 2.2× ratio; that was wrong, and the correction is itself a small lesson in being careful with self-flattering metrics.) The load-bearing human contribution is not the keystroke count at all — it is the curation: the structure, the choices, the corrections, and the sign-off on every page. That editorial judgment is exactly the scarce ingredient raw generated text lacks, and the reason we trust the result. The full process is documented in How this book was created, and the under-the-hood detail — prompts, prompt-engineering patterns, and the verifier suite — in its companion appendix, Under the hood: prompts, patterns, and verifiers.

Did writing it this way make me dumber? It is the obvious worry — that leaning on a model atrophies the very expertise it draws on — and I want to answer it plainly, in the first person, because my experience was the opposite. Writing this book with an AI made me learn more about my own field, not less. Two things happened that years of teaching the same material had not forced. First, at the micro scale, the relentless need to make every figure a runnable program and every claim survive a verifier dragged me into details I had waved past for two decades: what exactly happens when you run a Poisson solve, or a gradient blend, or a tone curve in gamma versus linear versus log space; where the half-pixel conventions of resampling actually bite; which "well-known" results are folklore. The model is a tireless partner for exactly this kind of experiment — propose, run it, look, be wrong, try again — and I ran hundreds of small experiments I would never have bothered to set up by hand. Second, at the macro scale, having a collaborator that could hold the whole book at once let me think about the field as a structure: how the ideas actually relate, what the right order is, where the recurring lessons are, how the discipline has evolved from hand-built priors to learned and generative ones. That synthesis — the part I am proudest of — is not something the model produced; it is something the process let me produce, by taking the mechanical load off so I could spend my attention on judgment. The leverage numbers above measure how much text the collaboration generated; they do not measure the thing that actually changed, which is how much I came to understand. If anything, the danger of de-skilling is real precisely because the tool is so capable — the discipline that kept it from making me dumber is the same one that makes the book trustworthy: never outsource the judgment, only the labour.