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.

td-typebox.toe — /project1
The TD-TypeBox editor view: a stat sentence set in Fit Lines mode, every line spanning the box, with blue drag handles on the box corners and edges
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.

BaseTD-TypeBoxout1out_piecesout_linesout_info

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

ModeWhat it does
ParagraphArea type: wraps inside the box with left, centre, right or justify, vertical align, leading and paragraph spacing
Fit LinesEach line scaled so its ink spans the box width; line sizes come from the line lengths, with Auto Break choosing the breaks
PointNo 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

OutputTypeWhat
out1TOPThe rendered text on a transparent background
out_piecesDATEvery drawn piece: text, style, position, width, size, line, word, paragraph
out_linesDATEvery line's bounds, baseline and scale
out_infoDATOverflow 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.