Nodes/ComfyUI-StrokeReveal/Stroke Reveal Animation
ComfyUI Node

Stroke Reveal Animation

A ComfyUI node in image/animation with 10 inputs and 1 output.

By licanhua·Created 7 months ago·Updated 7 months ago· 0
Stroke Reveal Animation
  • reveal_image
  • mask
  • brush
  • cover_image
  • brush_mask
  • images
num_frames100
draw_angle60
feather_radius10
brush_scale1.0
brush_anchorleft_top
Categoryimage/animation

Inputs (10)

NameTypeDefaultDescription
reveal_imageIMAGEThe image to be revealed through the animation
maskMASKThe mask defining the area where the reveal effect takes place
brushIMAGEThe brush/pen image (PNG with transparency) that animates along the reveal path
num_framesINT1002–500Total number of frames in the output animation
draw_angleFLOAT600–360Angle in degrees for the scratch/reveal direction (0=left-to-right, 90=top-to-bottom, 60=diagonal)
feather_radiusINT100–100Blur radius for softening the reveal edge transition
brush_scaleFLOAT1.00.1–5Scale factor to resize the brush image
brush_anchorCOMBOleft_topWhich corner of the brush aligns with the drawing point
cover_imageoptIMAGEOptional: The image that covers the reveal area initially. If not provided, a white background is used.
brush_maskoptMASKOptional: Alpha mask for the brush image. If provided, uses this as the brush transparency.

Outputs (1)

NameTypeDescription
imagesIMAGE