Nodes · More
Afterglow
Morev1coreNeeds full input
Overview
Light painting: strokes drawn, followed or generated become light in the shot, with the painter's own timing as the exposure — slow passages burn bright, fast flicks go thin, a pause is a hot dot. The plate is optional: alone it is an element, wired it is the plate plus the light. The stroke list and the drawing tools live in the panel.
Inputs
| Input | What it takes |
|---|---|
| plate | the original plate, for measurement |
| matte | the alpha that drives this node |
| vectors | a baked vector field |
| image | — |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| strokes | Text | The painting itself: every stroke with its points, timing, colour, width and brush. Edited by the stroke list and the viewer tools, not by hand. | |
| output | Choice | result | result: the plate plus the light (light adds, it does not cover). element: the light alone, premultiplied, with a coverage alpha — comp it with plus, or over if you must. resultelement |
| mode | Choice | exposure | How the painting sits in time. exposure: the photograph, all of it from the first frame. draw-on: strokes appear at the speed they were drawn, from the frame each was made on. trail: a comet — only the last trail_length seconds show, fading. exposuredraw-ontrail |
| trail_length | Float | 1.0 | In trail mode, seconds a passage stays lit before it has faded. 0 is forever — a light wall. |
| fps | Float | 24.0 | Frames a second, so a stroke's recorded seconds land on the timeline's frames. Set it to the shot's rate. |
| exposure | Float | 0.0 | Stops over every stroke's own. The whole painting, up or down. |
| realism | Float | 1.0 | How much speed decides brightness, 0 to 1. 1 is physical: brightness is intensity over speed, so the timing IS the look. 0 is the poster — an even line whatever the hand did. |
| brush | Choice | pen | The tool the NEXT stroke is drawn with — the tool is the look. pen: a round tube (the fox). blade: a ribbon with bright rims. fibre: a bundle of strands. orb: a light spun on a string. elwire: soft and smoky. laser: hair-thin. pixelstick: the image input emitted along the stroke. penbladefibreorbelwirelaserpixelstick |
| color | Color | [1.0, 0.55, 0.15, 1.0] | The next stroke's colour. Each stroke keeps its own, so changing this never repaints what is drawn. |
| width | Float | 6.0 | The next stroke's emitter width in pixels. Thinner than a pixel is fine: it gets dimmer, never lost. |
| stops | Float | 3.0 | The next stroke's intensity in stops. Bring it up until the core clips — the colour lives in the falloff. |
| softness | Float | 1.0 | The diffuser on the next stroke's emitter, 0 to 1. 0 is a bare LED with a hard shoulder, 1 a ping-pong ball. |
| fill | Float | 0.3 | Blade: how much of the light is in the milky interior, 0 to 1. The rest is in the two bright rims. |
| strands | Int | 12 | Fibre: how many strands. Thinner than a pixel is fine — they get dimmer, never lost. |
| spread | Float | 14.0 | Fibre: how far the strands spread either side of the path, in pixels. |
| lag | Float | 0.06 | Fibre: the last strand lags the first by this many seconds along the path. |
| spin | Float | 2.0 | Orb: turns per second on the string. Fibre: the strands' wave rate. |
| orbit | Float | 30.0 | Orb: the string's radius in pixels. |
| generator | Choice | harmonograph | Which parametric source + Generate adds: harmonograph, Lissajous, spirograph, rose, the Lorenz flow, the Clifford and de Jong maps (drawn as point density), a mandala, or warp streaks (hyperspace: many strokes racing from the centre). harmonographlissajousspirographroselorenzclifforddejongmandalawarp |
| gen_size | Float | 300.0 | The generated stroke's size in pixels, about the frame's centre. |
| gen_seconds | Float | 4.0 | How long the generated stroke takes to draw, in seconds — its exposure clock, and how draw-on and trail time it. |
| gen_points | Int | 2000 | How many points the generator draws. Maps want thousands; a rose wants hundreds. |
| gen_a | Float | 3.0 | The generator's first number — see the generator: harmonograph and Lissajous frequencies, spirograph's big wheel, the rose's petal count, the maps' a. |
| gen_b | Float | 2.0 | The generator's second number: the second frequency, the small wheel, the maps' b, the mandala's repeats. |
| gen_c | Float | 0.0 | The generator's third number: damping (harmonograph), phase (Lissajous), pen offset (spirograph), the maps' c, the mandala's petal depth. |
| gen_d | Float | 0.0 | The generator's fourth number: a phase, the maps' d, the mandala's counter-rotation. |
| gen_seed | Int | 1 | Which random start the maps and the Lorenz flow take. |
| tremor | Float | 0.0 | For generated and imported strokes: a small organic wobble in pixels, so a formula reads as a hand. Freehand has its own. |
| boil | Int | 0 | For generated strokes with tremor: re-roll the wobble every this many frames, for stop-motion light animation. 0 holds one wobble. |
| follow_on | Choice | off | off: no follow. point: the follow knob's animation is the emitter. blob: the brightest blob in the plate is — a practical LED wand found in the footage, over follow_window frames. offpointblob |
| follow | Float2 | [0.0, 0.0] | Follow: the emitter's position, animated. Link a Tracker's track into it (⌖ Follow track) or key it by hand; the trail is the path it traces from follow_start, spline-fitted and resampled so fast moves never bead. |
| follow_start | Float | 1.0 | The frame the followed emitter switches on. Its clock starts here. |
| follow_window | Int | 48 | Blob follow: how many frames back the plate is searched for the wand — the trail cannot be longer than this. |
| blob_threshold | Float | 2.0 | Blob follow: how bright a pixel must be to count as the wand. The emitter is the centroid of everything brighter, each frame. |
| sparks | Float | 0.0 | Sparks thrown off every stroke: how many per pixel of path. In exposure mode each spark's whole flight is on the film; in draw-on and trail each is where it is now. 0 is none. |
| spark_life | Float | 0.6 | Seconds a spark burns before it is out. |
| spark_speed | Float | 120.0 | How fast sparks leave the path, in pixels a second (each a little different). |
| spark_spread | Float | 40.0 | The cone round the path's direction sparks fly into, half-angle in degrees. |
| spark_gravity | Float | 400.0 | Pixels a second squared, down the screen. |
| spark_stops | Float | -2.0 | Each spark's brightness in stops relative to the stroke it came off. −2 is a quarter. |
| follow_predict | Float | 0.0 | The tracer: seconds of path predicted past the followed point by a ballistic fit through its last positions — the apex and landing of a ball — drawn 1.5 stops dimmer. 0 is off. |
| pixelstick_by | Choice | time | Pixelstick: which column of the image input a point of the stroke emits — by the clock (walking speed sets the stretch) or by distance along the path. timedistance |
| pixelstick_height | Float | 60.0 | Pixelstick: how tall the image stands across the stroke, in pixels. |
| export_path | Text | Where ⤓ Export USD writes the painting: BasisCurves per stroke (points, widths, colour, the clock) and a light per segment, so Unreal or Houdini can light its CG with the same painting. Empty writes afterglow_<node>.usda beside the project. | |
| place | Choice | paper | Where the NEXT stroke lives. paper: the screen, every frame. surface: pinned to the plate's own ground or object under it (needs a position pass: wire a Fathom), so it rides a moving camera. plane: standing on the ground at plane_base, facing camera, at true scale — the fox. papersurfaceplane |
| plane_base | Text | Where the stand-up plane stands: Ctrl+click the ground in the viewer with place = plane. Stores the pixel and the ground's metres-per-pixel there; the viewer draws the base line and a 1 m tick from it. | |
| depth_tolerance | Float | 0.1 | How much nearer the plate's surface may be than a stroke's anchor before the point counts as hidden behind it, in world units. Raise it if strokes on a rough surface flicker; lower it if they show through things. |
| glow | Float | 1.0 | Bloom around the light: how far and how much the strokes' light blooms, as a camera's lens would. |
| halation | Float | 0.3 | The warm halo a film stock puts around a bright light; 0 = none. |
| streaks | Int | 0 | Star streaks from the brightest points: their strength; 0 = none. |
| streak_length | Float | 120.0 | How far the streaks reach, in pixels. |
| streak_angle | Float | 0.0 | The streaks' angle in degrees, as a filter on the lens would set it. |
| chromatic | Float | 0.0 | Colour fringing on the light's edges — the lens splitting red and blue; 0 = none. |
| spill | Float | 1.0 | The strokes light the world: each becomes a tube of light standing on the plate, and the plate's ground and objects are lit by it (needs position and normal passes: wire a Fathom or CG passes). This is the gain; 0 is off. |
| spill_height | Float | 0.1 | How far in front of the surface a stroke drawn on the paper stands, in the plate's world units — a light painting is drawn a hand's breadth off what it is over. Strokes placed on the surface or a plane use their own height. |
| spill_roughness | Float | 0.6 | The surface's roughness for the spill's specular half, 0 to 1. Low is wet pavement; high is dry cloth. |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |
