Text as Mask
Product imagery revealed through oversized letterforms for brand openings and feature reveals. Replace the title and background imagery.
JavaScript/TypeScript text measurement and multiline layout for animated titles, captions, and text cards. Reuse cached measurements, line widths, and wrapping with DOM, Canvas, or SVG; load the intended fonts and add your own animation timeline and video renderer.
A supporting library for video graphics. Integrate its output with your own animation timeline and renderer; it is not a finished-film template.
Open the linked artifact and its project instructions. Check the required runtime, inputs, and upstream terms.
Use the replacement notes above. Bring your own copy, data, assets, and branding; match the timing to your story.
Follow the upstream render workflow. Check framing, typography, audio, and output before publishing.
Source and documentation review is separate from installation and render testing.
Reviewed upstream README and API examples at commit 0d102a5cd933611e86a7e60bda7b4baa5995c6b0: @chenglou/pretext, prepare/layout, measureNaturalWidth, measureLineStats and layoutWithLines; DOM, Canvas and SVG output. Video title/caption use is an editorial integration recommendation, not a shipped video renderer. No installation or render test performed. Auto-fit and balanced CLI flags are not asserted as upstream APIs.
Read reviewed sourceProduct imagery revealed through oversized letterforms for brand openings and feature reveals. Replace the title and background imagery.
Paper-toned typography for value propositions, chapter breaks, and explanatory pauses. Replace the copy, fonts, and accent palette.
Document content appearing as if written for AI writing, reports, and note-taking demonstrations. Replace the document and its reveal sequence.