Type nodes (type / typeMask / typeWarp)
Instead of “laying text on top”, this feature puts text into the pipeline as Semantic Synth nodes. The text you enter becomes a signed distance field (SDF) texture, so weight, outline and softness can be driven by parameters, and they are also targets for audio modulation.
- Changing the text does not recompile the shader. It switches on the spot (the Patch structure doesn’t change).
- They never appear from a seed gacha. They are added only manually (text you pin is automatically inserted into the new Patch after a seed change).
- The text is saved inside the Patch’s
texts, content included (key<opId>.<slot>, value{text, font, weight}; text up to 200 characters, font is a CSS font-family, weight 100-900). - While no text is assigned,
typedraws nothing,typeMaskhas no effect, andtypeWarpdisplaces by 0.
The three nodes
Section titled “The three nodes”All share scale / softness / weight / fit (some nodes only a subset).
type (Source)
Section titled “type (Source)”The text itself becomes the density (the picture).
| Parameter | Range / values | Default | What it does |
|---|---|---|---|
fit |
contain / cover / tile |
contain |
How the text fits (cannot be modulated by audio) |
scale |
0.2-4 | 0.9 | Size |
weight |
-1 to 1 | 0 | Positive is bolder, negative is thinner |
softness |
0-1 | 0.05 | Edge blur |
outline |
0-1 | 0 | 0 is filled; above 0 draws an outline (the value is the line width) |
stagger |
0-1 | 0 | Per-character phase-shifted vertical sway and weight pulsing, stronger on kicks |
invert |
on / off | off | Swap inside and outside of the text |
typeMask (Modifier)
Section titled “typeMask (Modifier)”Processes other patterns using the shape of the text.
| Parameter | Range / values | Default | What it does |
|---|---|---|---|
mode |
knockout / keep / xor |
knockout |
knockout cuts out the text area, keep keeps only the text area, xor inverts |
amount |
0-1 | 1 | Strength |
weight / softness / fit / scale |
as above | - | Same as type |
typeWarp (Field)
Section titled “typeWarp (Field)”Draws no text itself; distorts coordinates along the outline of the text.
| Parameter | Range / values | Default | What it does |
|---|---|---|---|
amount |
0-1 | 0.3 | Distortion strength |
radius |
0.05-1 | 0.5 | Falloff width from the outline |
mode |
push / pull / swirl |
push |
Push out / pull in / swirl |
fit / scale |
as above | - | tile tiles at the contain size |
How to use (Texts section)
Section titled “How to use (Texts section)”Use the Texts section of the Timeline panel (below Images).
- Press
+ type,+ maskor+ warpto add that node to the Patch; the slot is filled withSEEDSHADE. If that category is already at its limit, the last one is replaced. - Each slot gets a textarea, a font-family field, a weight field (steps of 100), a clear button and a pin button.
- Text is committed with Enter (Shift+Enter for a line break; Enter during IME composition is ignored). It is also applied on blur and 450 ms after you stop typing. Font is applied on Enter / blur, weight on blur or after 450 ms.
- Values changed from outside are reflected in the fields unless you are editing them.
Linking text
Section titled “Linking text”The Link toggle in the Texts section (on by default, saved in settings) controls whether text is shared across slots.
- On: editing the text, font or weight of any slot (including clear) writes the same value to all text slots.
- Off: each slot is independent.
- A node added with
+ type/+ mask/+ warpstarts with a copy of an existing slot’s values (SEEDSHADEif there is none).
Keeping the same text is the normal case. Turn Link off only when you want different text, for example a name in type, a mood word that is only felt in warp, or a symbol (● ★) or a single kanji used purely as a shape in mask.
Pinning text
Section titled “Pinning text”Use the pin / pinned button on each slot row to pin or unpin. A pinned text node is automatically inserted into the new Patch when you change the seed, so only the visuals around it change.
A seed change means the R key, 🎲, the seed input, Auto-gacha, a seed-only Timeline event, or vj-ctl seed. The list of pins and Unpin all are shown. Up to 4 pins.
- Only Patches built from a seed receive pins. Deck banks, Timeline events that carry a Patch, and Patches sent from outside (
proposePatch) do not. - If the per-stage node limit or the load budget would be exceeded, nodes of the same kind from the gacha side are removed from the back to make room.
- Pinning itself does not change the current visuals (it takes effect from the next seed change).
- The text follows edits made after pinning. Parameters (weight and so on) are the values at the moment of pinning; pin again to apply new ones (UI: unpin then pin; CLI: rerun
vj-ctl pin <opId>).
- Feed an MC’s name or lyrics in during a track (
type). - Knock the text shape out of a pattern such as a halftone (
typeMaskknockout). - Text you can’t see, but the pattern swirls in the shape of the text (
typeWarpswirl). - Pin the event name with
typeand let Auto-gacha keep cycling only the background.
Control from outside
Section titled “Control from outside”Replace text with the Bridge JSON-RPC setText.
{ "key": "type0.0", "text": "SEED\nSHADE", "weight": 900 }keyis<opId>or<opId>.<slot>.text/font/weight/clearare optional.clear: true, or omittingtext, removes the text. The return value is{ok, issues}.- A Patch containing a
type-family node is required. - If
keyis omitted or"*", the value is written to all text slots (ok: falseif there are no slots).
Pins can also be controlled over the Bridge.
| Method | Params | Returns |
|---|---|---|
pinText |
{ opId: "type0" } (pin a node in the current Patch; updates to the current value if already pinned), or { node: { generatorId: "type"|"typeMask"|"typeWarp", text: string | {text, font?, weight?}, parameters?, opId? } } |
{ ok, issues, pinned, opId } |
unpinText |
{ opId? } (omit or "*" to unpin all) |
{ ok, issues, pinned } |
getPinnedText |
none | { pinned } |
From the CLI, use the text command of vj-ctl (vj-ctl).
node scripts/vj-ctl.mjs text type0 "SEED\nSHADE" --weight 900 # \n is a line breaknode scripts/vj-ctl.mjs text type0 # omit the string to clearnode scripts/vj-ctl.mjs text '*' "SEEDSHADE" --weight 700 # all text slots (omit the string to clear all)node scripts/vj-ctl.mjs pin type0 # pin type0 of the current Patch (rerun to refresh to current values)node scripts/vj-ctl.mjs pin --generator type "SEEDSHADE" --font serif --weight 800 --id namenode scripts/vj-ctl.mjs unpin type0 # no argument unpins allnode scripts/vj-ctl.mjs pins # list pinned textSee also: for images, Images in the Timeline panel.