TouchDesigner component
TD-TypeBox
Photoshop-style text boxes for TouchDesigner.
Drag a box and the text reflows. One Container COMP for area type, mixed styles in one block, and stacked fit-to-width lines that pick their own breaks, with a reveal and the full layout as tables.

- 3
- layout modes: paragraph, fit lines, point
- 1
- pixel accuracy at the box edge in Fit Lines
- 8
- font faces in one box
- 0
- manual line breaks needed
Features
- 01
Drag to reflow
Draw the box in the viewer and drag its handles: the text rewraps live, like area type in Photoshop and Illustrator. Expression-driven box parameters are left alone.
- 02
Fit Lines with Auto Break
Every line is scaled so its ink spans the box, the big stacked stat-card look. Paste a plain sentence and TD-TypeBox picks the breaks that fill the box: after commas and full stops, never on "the" or "and", names and dates kept together. Break Variant steps through the next-best layouts.
- 03
Capitalize
ALL CAPS, lowercase or Title Case as a parameter. It changes what is drawn, not your text, and the line breaking still reads your copy as typed. Title Case leaves acronyms alone.
- 04
Mixed styles in one block
A Styles table sets font, any installed weight, size, Photoshop-unit tracking, colour, baseline shift and case per style. Apply them with light markup like {accent}2026{/}.
- 05
Real font faces
Every weight loads from the font file on disk, including Adobe Fonts. Faces inside .ttc collections are split into a temp folder, never into your project.
- 06
Reveal and layout data
One 0 to 1 parameter animates the text on by line, word or character, with fades, rises and scales. Every drawn piece and every line also comes out as a table to drive your own animation.
Outputs
Drop it in. Wire it up.
Every output is a regular TouchDesigner operator, ready to wire into the rest of your network.
How it works
[Text or Text DAT] + [Styles table] ─▶ [layout engine] ─▶ [Geo Text render] ─▶ out1
└──────────▶ out_pieces / out_lines / out_info
Type into the Text parameter or point it at a Text DAT, wire out1 wherever you need it, and drag the box in the component's viewer. The layout engine measures with the same renderer it draws with, so wrapping and fitting match what you see. It only reruns when something it reads changes, and a hidden copy costs nothing.
Layout modes
| Mode | What it does |
|---|---|
| Paragraph | Area type: wraps inside the box with left, centre, right or justify, vertical align, leading and paragraph spacing |
| Fit Lines | Each line scaled so its ink spans the box width; line sizes come from the line lengths, with Auto Break choosing the breaks |
| Point | No box: the text anchors on its baseline at Box X / Box Y |
Overflow works like Photoshop: flag it with the red plus, clip it, shrink to fit, or grow the box.
Outputs
| Output | Type | What |
|---|---|---|
out1 | TOP | The rendered text on a transparent background |
out_pieces | DAT | Every drawn piece: text, style, position, width, size, line, word, paragraph |
out_lines | DAT | Every line's bounds, baseline and scale |
out_info | DAT | Overflow flag, used size, scale, counts and errors |
Demo project
The download includes a self-running showreel of every feature, twelve scenes built from plain copies of the component, so you can open any scene and see how the look is made.




