ComfyUI Node

DP Logo Animator

Turn a static logo into a scaling animation

By DesertPixelAi·Created 2 years ago·Updated about a year ago· 25
DP Logo Animator
  • images
  • IMAGE
frame_count48
min_scale0.20
background
animation_pattern

If you need a quick zoom-in/zoom-out animation of a logo or a static graphic - the kind of thing that plays at the start or end of a video - this node generates that frame sequence directly, no keyframing or motion-graphics software required. Feed it your image(s), pick a scale pattern, and it outputs a batch of frames you can hand to a video-combine node.

How it works

frame_count sets how many frames the animation runs for, and min_scale sets how small the logo gets at its smallest point in the pattern - 0.2 means it shrinks to 20% of its original size before whatever happens next in the chosen pattern. background picks what fills the space around the scaled logo: Auto, Black, or White.

animation_pattern is where the actual motion comes from, and it's worth reading the eight options carefully since they split into two families. The first four are simple single-image scale sweeps: Big>Small>Big (starts full size, shrinks to min_scale, grows back), Small>Big>Small (the reverse), Big>Small and Small>Big (one-way versions of the same motion, no return trip). The other four - the batch_flow_* and batch_alternate_* patterns - are built for when your images input is a batch of more than one image rather than a single logo: batch_flow patterns presumably transition through the batch in sequence as part of the scale motion, while batch_alternate patterns alternate between images at each scale beat. If you're only animating one static logo, the first four patterns are the ones you want; the batch-aware patterns only make sense once you've got more than one source image feeding in.

Inputs and outputs

Required:

  • images - the source image(s) to animate. A single image for the simple patterns, a batch for the batch_flow/batch_alternate ones.
  • frame_count - 2 to 300, default 48. This is your animation's frame length - match it to your target video's frame rate and desired duration (48 frames at 24fps is a 2-second clip, for instance).
  • min_scale - 0.1 to 0.99, default 0.2. How small the logo gets at the pattern's smallest point.
  • background - Auto, Black, or White.
  • animation_pattern - one of the eight patterns described above.

One output:

  • IMAGE - the generated frame batch. Feed this into ComfyUI's video-combine node (or the pack's own GIF Maker, per the README) to actually render it into a video or GIF file.

How to install it

Search ComfyUI-Desert-Pixel-Nodes in ComfyUI Manager, or:

cd ComfyUI/custom_nodes
git clone https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes

Restart, find it under DP/animation. No models needed - this is procedural frame generation from an existing image, not a generative model.

Common issues & troubleshooting

Output is a single image, not an animation. This node only produces the frame batch - it doesn't encode a video or GIF file by itself. You need a separate combine/save step downstream (ComfyUI's video-combine node, or DP's own GIF Maker if you want to stay within the pack) to turn the frame batch into a playable file.

Batch-aware patterns don't seem to do anything different from the simple ones. Check that images is actually a batch of more than one image - batch_flow_* and batch_alternate_* need multiple source images to have anything to flow or alternate between. Fed a single image, they likely degrade to behaving like one of the simple patterns.

Animation feels too fast or too abrupt. Raise frame_count for a smoother, slower motion, or lower it for something snappier. This node has no separate "speed" or easing control beyond frame count and min_scale, so pacing is entirely a function of how many frames you spread the scale motion across.

Background doesn't match what you expected. Auto presumably infers a background from the source image somehow rather than using a flat fill - if you want a guaranteed solid color behind the logo regardless of source content, pick Black or White explicitly instead of relying on Auto.

CategoryDP/animation

Inputs (5)

NameTypeDefaultDescription
imagesIMAGE
frame_countINT482–300
min_scaleFLOAT0.200.1–0.99
backgroundCOMBO3 options: Auto, Black, White
animation_patternCOMBO8 options: Big>Small>Big, Small>Big>Small, Big>Small, Small>Big, batch_flow_big>small, batch_flow_small>big, +2

Outputs (1)

NameTypeDescription
IMAGEIMAGE