Particles node · simulation · time dependent
particle_trails
Turns moving particles (input with an `id` point attribute, e.g. particle_solver output) into polyline trails built from each particle's positions over the last `length` frames. Output: one open polyline per particle (head = current position, last vertex), point attributes Cd (copied from the particle, faded toward the tail), Alpha, width, pscale, id, and prim attribute id. Without `id`, the point index is used (only correct if the point order is stable). Use for sparks, streaks, motion lines. length 4-10 for sparks, 20-60 for ribbons.
Inputs
- 0particles
Parameters 5
lengthintTrail length in frames (number of history samples).
fadetoggleWrite Alpha fading from 1 at the head to 0 at the tail, and darken Cd.
widthfloatTrail width written to the `width`/`pscale` point attribute (tapers to the tail).
start_frameintFrame where the simulation starts
substepsintSolver substeps per frame
Use it
Add it from the node menu (right-click empty graph space or Tab, then type particle_trails), ask the AI for it by name, or add it with a graph op from the API or MCP:
{"op":"add","type":"particle_trails","name":"my_particle_trails","params":{},"inputs":["src"]}Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.