Stretchtext · experiment 10

Stretchtext, stretched.

Ten passages, thirty readings. Pull the underlined prose to try insertions, rearrangements, compressions, and elaborations. The essay explains the transformations it performs.

On writing that makes room for its reader

Ted Nelson proposed treating detail as a reader-controlled dimension of prose. Stretchtext changes resolution without changing location. A passage can be a sentence or an argument. The unit is not the page: it is whatever thought the reader wants to open.

Here, the reader chooses depth by pulling. The gesture is continuous; the language is not. What varies continuously is the room occupied by complete accounts, not the completeness of a half-written clause.

The diff distinguishes surviving words from edits. But correspondence is not rigidity. The diff identifies continuity; the stretch envelope gives that continuity enough material to move.

The author writes readings; the engine supplies motion. This saves choreography, not judgement. A lexical match is not a guarantee that a claim retains its meaning. A smooth transition is no warrant for a faithful paraphrase.

An agent's proposals are not the reader's vocabulary. Exploration is not endorsement. The reader must be able to pull on the writing and push back against its author.

Historical reference: Nelson's stretchtext. The drag interaction and agent-authored readings are this experiment's extension of the idea.

What moves, and why

Two layers, both inferred from the readings alone. Correspondence: each pair of neighbouring readings is split at word boundaries, punctuation apart from words, and matched word by word (ignoring case). Unique runs of two or more matched words that changed order are moves. Motion: each edit becomes a stretch envelope, which borrows neighbouring matched words until the earlier and later spans are within twice each other's length, or the whole phrase is used. An added clause is carried by the phrase it extends, never by a comma or a blank gap. The envelope's earlier words stretch to fill a growing room, pop at halfway to the later words compressed, then relax. Words outside envelopes keep their shape and glide; moved runs arc over the line. Everything on screen is always one complete reading the agent wrote.

Limits: matching is lexical, not semantic; repeated words can match the wrong occurrence; the twofold rule counts space-separated words, not meaning, so it can borrow more or less context than a person would choose.

Authoring a phrase

An agent writes markup only. Readings are ordered; the first is visible without JavaScript.

<span data-stretch="scale" data-label="An insertion"><span data-reading="Skeleton">A passage can be a sentence or an argument</span><span data-reading="Inserted" hidden>A passage can be a sentence, a worked example, or an argument</span></span>.

Rules: unique IDs, no nesting, plain text inside readings, every combination coherent. Readings stay under 257 words. No model runs during a drag: every state was prepared in advance.

Exploration record

Touched is not kept. Keep records only touched phrases; notes are separate and pinned to a phrase. Everything stays in this page's memory unless you download it.