Particles(ParticlesStage)
Particles (class ParticlesStage) is a video effects node in the ComfyTV/VideoFX category.
Particles Stage
Description
Particles (class ParticlesStage) is a video effects node in the ComfyTV/VideoFX category. It applies a particle-style visual effect and returns the result as a single COMFYTV_VIDEO. All three of its inputs are optional, so the node can be used either as a standalone particle generator with no source media, or as an effect stage layered onto an existing clip with optional masks to control where the effect appears.
Inputs
video (COMFYTV_VIDEO, optional)
The source video clip for the effect. When connected, the particle stage uses this clip as the basis for its output: frame timing, length, and resolution follow the supplied video. When left unconnected, the node still runs and produces its own particle output at its internal defaults, which makes it usable as a self-contained generator.
mask_video (COMFYTV_VIDEO, optional)
A per-frame video mask. Connect this when you want the particle effect to be localized or driven differently on each frame, for example to follow a moving subject or to fade the effect in and out over time. The mask is expected to line up with the source video frame by frame.
mask_image (COMFYTV_IMAGE, optional)
A single still-image mask. Use this when the region of effect stays constant across the whole clip rather than changing per frame. Because it is a still image, it is the simpler option for static shapes, logos, or fixed areas of interest.
Both mask inputs are optional and independent of each other; the node can run with no mask at all, in which case the particle effect is not constrained by a user-supplied matte.
Outputs
COMFYTV_VIDEO
A single video output containing the particle result. Connect it to other ComfyTV video nodes, such as additional VideoFX stages, or to a save/preview node to view or export the clip. Where a source video was provided, the output is expected to match its resolution and timing; without one, the output is generated from the node's own defaults.
Usage Notes
- Every input is optional, so this node can be dropped into a graph on its own to generate particles, or inserted between existing video nodes to add the effect on top of a clip.
- Use
mask_videofor animated or object-following effects andmask_imagefor a fixed region of interest. Pick whichever matches how your mask changes over time. - The node sits in the
ComfyTV/VideoFXcategory alongside other video effects stages, so it is intended to be chained: feed a video in, take theCOMFYTV_VIDEOoutput, and continue into further stages. - Since the particle effect is generated by the stage itself, the exact look depends on the node's internal parameters rather than on the input clip; the inputs control the source footage and the masking, not the particle styling.
Comments
Sign in with GitHub to join the discussion.