
Documentor
Period document compositor for the Blues Torch ARG — generates historically authentic handwritten and typewritten document images with aged ink, weathered paper, and physical damage.
Period document compositor for the Blues Torch ARG — generates historically authentic handwritten and typewritten document images with aged ink, weathered paper, and physical damage.
Build Log
Auto-fit zoom on page load and size change — paper fills 80% of available viewport height, recalculates when switching between page sizes like Letter and Postcard.
Arrow key block nudge for fine-tuning placement — 0.5px per press on unlocked blocks. Respects lock state and skips when textarea is focused.
Dot matrix sprocket holes rebuilt to ANSI specs. Strips are now continuous paper extensions (not separate layers) with 5/32-inch holes at half-inch spacing, perforation lines at tear boundaries, and SVG mask punch-through for transparent PNG export.
Sidebar redesigned from accordion stack to two-zone layout. Document controls (paper, ink, weathering) live in a collapsible top zone with dropdowns and popovers. Block controls use a tabbed panel with Adjust as the default tab and a persistent textarea below.
Typewriter text now renders pixel-perfect monospace. Replaced CSS inline flow with terminal-emulator-style absolute grid positioning — each character placed at measured cell width intervals. Line breaks computed in JavaScript.
Fixed undo/redo bugs: drag undo was a no-op (pushed post-drag state), text undo only reverted the last character (snapshot captured on every keystroke instead of first). Both fixed with ref-based pre-action snapshots.
Built Documentor from scaffold to functional app in one session. All 7 build phases complete: handwriting and typewriter renderers with seeded PRNG, 19 historically researched paper types (1870s-2010s), 7 chemistry-based ink aging curves, 16 weathering effects with character trait gating, physical damage via SVG clipPath with bezier-curve torn edges, Puppeteer export pipeline, character creator with historical presets, carbon copy generation, and undo/redo with 50-entry history stack.
