Skip to content

trama node chains

Kevin Raymond edited this page Sep 21, 2026 · 2 revisions

trama is a small node graph that post-processes a layer's picture after the layer has rendered it. Every layer can carry its own chain, and one more, the master chain, runs on the whole composited frame. Move, scale or spin one layer without touching the rest, put echo trails on it, then do the same to everything at once.

The name is Portuguese: trama is the weft, the threads woven across the warp. Saved chains are .fio.json files; fio is a thread.

Two minutes to your first chain

  1. Select a layer and press G. The Layer: name tab is that layer's chain.
  2. Right-click the canvas → Sources → Layer input. That node is the layer's own picture.
  3. Right-click → Effects → Transform.
  4. Drag from Layer input to Transform, then from Transform to Output.
  5. Click Transform and move scale. The layer shrinks and the layers beneath show around it.

Nothing happens until a chain reaches its Output, so building one never blanks a layer. To remove a wire, right-click it; hovering one says so. A layer with a chain wears a diamond in the layer list, filled when active and hollow when not. The master chain gets its own Master row.

What you get to work with

Sixteen nodes, and every Float on them can be driven by an oscillator or by the music.

  • Shape it: Transform, Mirror, Kaleidoscope, Pixelate
  • Grade it: Levels, Hue Drift, Palette Map, Key
  • Rough it up: Blur, Edge, Chromatic Aberration, Scanlines
  • From nothing: Noise Field, Gradient, Solid
  • Plumbing: Layer input, Mix, Feedback, Anchor, Output

Key is the one to know about. It turns dark into transparent, which is what lets a particle layer sit on top of another one at all (see below). Anchor is a bend in a wire: drop one in a wire's path to route a patch around a node instead of across it. It renders nothing and is not counted in the layer's badge.

Every parameter and its range is in the tutorial's node table.

Recipes

Every clip below was filmed from the running app. Each has a preset you can load.

Picture-in-picture

Picture-in-picture
  1. Top layer: Astrolabe. Bottom layer: Murmur.
  2. On Astrolabe: Layer input → Transform → Output.
  3. Transform: scale 0.45, then push translate_x / translate_y toward a corner.

Load it and look inside: Trama 1 Picture in Picture.json. Copy it into your presets folder to try it.

Pump to the kick

Pump to the kick
  1. Top layer: Prism over Drift, same chain as above with scale around 0.7.
  2. Open the mod row under scale, pick bass, and set amount to about 0.1.
  3. Swap bass for onset for a sharper punch.

Load it and look inside: Trama 2 Pump.json. Copy it into your presets folder to try it.

One layer spinning

One layer spinning
  1. Top layer: Reticle over Symbiosis.
  2. On Transform's rotate, open mod and pick the Saw oscillator, beat-synced to four bars.
  3. Mode Repl, amount 1.0, smoothing 0. The sweep is one full turn, so the saw's wrap is seamless.

Load it and look inside: Trama 3 Spin.json. Copy it into your presets folder to try it.

One effect, twice

One effect, twice
  1. Two Astrolabe layers over Polycephalum.
  2. Give each a Transform: scale 0.6, one with translate_x −0.22, the other +0.22 and rotate 0.5.
  3. Every Float is a slider and a modulation target, so each copy can move on its own.

Load it and look inside: Trama 4 Twin.json. Copy it into your presets folder to try it.

Echo trails

Echo trails
  1. One layer: Beam.
  2. Wire Layer input → Mix (input 0) → Output.
  3. Also wire Mix → Transform → Feedback → back into Mix's input 1.
  4. Mix amount ≈ 0.8 is the trail length; Transform a whisker off identity (scale 1.03, rotate 0.004) makes the trails spiral.

Load it and look inside: Trama 5 Echo.json. Copy it into your presets folder to try it.

The master chain

The master chain
  1. Any stack will do. This one is Symbiosis over Drift.
  2. Switch the canvas to the Master tab and build the echo loop there, then a Hue Drift (speed 0.05) before Output.
  3. It runs on the composited frame, before tonemapping, so the whole picture smears and shifts.

Load it and look inside: Trama 6 Master.json. Copy it into your presets folder to try it.

What filming these taught us

To place a layer cleanly, it needs real transparency. The overlay effects have it: Astrolabe, Reticle, Limn, Tessera, Bezel, Intarsia and Fenestra. A particle effect's "black" is really a dim haze, so shrinking one leaves a visible box around it whatever blend mode or opacity you choose. Put the particles underneath and place an overlay effect on top.

That box is what the Key node was built for. Put one in front of the Transform and the haze becomes real transparency, so a particle layer can be the placed layer after all.

Good to know

  • Chains are saved with presets, node positions included, and scenes that cue presets restore them. Export… / Import… in the canvas header moves a single chain as a .fio.json file.
  • An effect you don't have installed loads as a magenta missing: node with its wires and values kept.
  • A 10-node chain at 1080p costs under 1 ms of GPU time on an RTX 4090.

Going deeper