The narrative contract
Prose analyses the state the canvas is in. It never captions the interface.
#The failure this prevents
The classic failure of interactive documents is that the canvas is live and the prose is frozen, so the writing degenerates into captioning the interface: drag the slider to see what happens, notice how the curve changes. Those are instructions, not analysis. The reader is told to operate something and left to draw their own conclusion, which is the one job the author was there to do.
The rule that prevents it: prose analyses the state the canvas is in. It never describes the controls. If a sentence would still make sense with the canvas removed and replaced by a screenshot of a slider, it is caption, not argument.
#Steps pin claims to states
A step advances the scene, and cues fire against it. That is what makes the contract enforceable rather than aspirational: the sentence the reader is on at step two sits beside the canvas as it is at step two, because the same anchor drives both.
scene{
Fitted straight, the residuals fan out at both ends — the model is
missing curvature, not noise.
===
A quadratic term flattens them.
}[
canvas.graph{
scatter(data: #survey)
cue{ fit#linear(model: polynomial) }(in: 0)
cue{ residuals(of: #linear) }(in: 0)
}
]Along the authored path, prose and evidence agree by construction. That is the medium's epistemics, and it is not weaker than a paper's: a printed figure is also the author's chosen state. The difference is that here the reader can prod the claim and watch whether it survives.
#Exploration is a departure, not a defeat
When a reader drags a parameter they leave the authored path. That is intended, and it is visible and reversible — scrubbing back re-synchronises. The contract is not that the reader cannot reach a state you did not narrate; it is that every state you hand them is one your prose can survive. Which is exactly what Parameter or cue decides.
#Writing to the contract
- Name the claim, then let the canvas carry the evidence. Not "the graph shows a relationship" — say which relationship.
- Never write a sentence whose subject is a control.
slider,drag,clickandhoverin narrative prose are the smell. - Where a number appears in prose, read it live rather than typing it — see Honest numbers.
- One claim per step. If the sentence needs an "and", it is probably two steps.