ComfyUI Node
Stroke Reveal Animation
A ComfyUI node in image/animation with 10 inputs and 1 output.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| reveal_image | IMAGE | The image to be revealed through the animation | |
| mask | MASK | The mask defining the area where the reveal effect takes place | |
| brush | IMAGE | The brush/pen image (PNG with transparency) that animates along the reveal path | |
| num_frames | INT | 1002–500 | Total number of frames in the output animation |
| draw_angle | FLOAT | 600–360 | Angle in degrees for the scratch/reveal direction (0=left-to-right, 90=top-to-bottom, 60=diagonal) |
| feather_radius | INT | 100–100 | Blur radius for softening the reveal edge transition |
| brush_scale | FLOAT | 1.00.1–5 | Scale factor to resize the brush image |
| brush_anchor | COMBO | left_top | Which corner of the brush aligns with the drawing point |
| cover_imageopt | IMAGE | Optional: The image that covers the reveal area initially. If not provided, a white background is used. | |
| brush_maskopt | MASK | Optional: Alpha mask for the brush image. If provided, uses this as the brush transparency. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |