ComfyUI-QuasimondoNodes Introduction
ComfyUI-QuasimondoNodes is a work-in-progress collection of custom nodes for ComfyUI. The author created these nodes primarily to solve needs in the author’s own workflows, so the collection brings together several different kinds of tools rather than one all-purpose effect.
For AI artists, the nodes offer ways to work with masks and image sequences, create procedural visuals, experiment with shaders, and process folders of videos or images. For example, you can shift a mask to change where an effect appears, blend information across nearby video frames, or use a shader to create an animated look.
How ComfyUI-QuasimondoNodes Works
In ComfyUI, you build a workflow by connecting nodes. Each node performs a particular job on the data it receives and passes its result to the next part of the workflow. ComfyUI-QuasimondoNodes adds more jobs you can choose from:
- Mask tools help define or examine where something happens in an image.
- Image and sequence tools transform images or combine information from multiple frames.
- Shader and procedural tools generate or alter visuals through rules rather than a text prompt alone.
- Queue managers help feed a series of videos or folders through a workflow when used with auto queue.
Think of a mask as a stencil: moving it changes the area selected for an effect. A sequence of frames is more like a flipbook; nodes such as TemporalBlur and SlitScan can use information across that flipbook, rather than treating every image independently.
ComfyUI-QuasimondoNodes Features
Masks and spatial information
ShiftMaskmoves a mask by an x offset and a y offset. Adjust those offsets to reposition the selected area horizontally or vertically.PreviewMaskcreates a preview image of masks and saves temporary files so you can inspect them in the ComfyUI interface. This can help you check a mask before using it elsewhere in a workflow.DistanceMapcreates a distance map from a binary mask and returns the coordinates of a point. Its max, min, and median distance modes give you different ways to choose that point.CoordinatesFromMaskextracts point coordinates from a mask and also produces a point mask. You can control parameters including percentage, minimum distance from the edge, and maximum number of points. These settings let you change how many points are selected and how close they may be to the mask boundary.
Images and frame sequences
ImageToOpticalFlowconverts an image into an optical-flow representation. You can choose which color channels carry the x and y components, then adjust scaling and offset to change how those components are interpreted.SlitScanapplies a slit-scan effect to an image sequence using masks. It is intended for creative manipulation and blending of time across frames.TemporalBlurblurs a sequence over time by considering frames before and after the current frame. Its customizable falloff controls how strongly surrounding frames contribute.Image Blend Mask (Batch)provides an image-blend-mask option that works with batches. It is useful when your workflow needs to apply a blend across multiple images rather than just one.
Shaders and procedural visuals
Custom Shaderlets you integrate your own OpenGL shaders, including shaders that generate animations. It uses themoderngllibrary. The author also added an option to use many Shadertoy (https://www.shadertoy.com/) shaders without conversion, and support for image batches as shader textures. Batch textures can be useful for workflows such as video post-processing.CPPN Generatoris based on Hardmaru’s Compositional Pattern-Producing Networks (CPPN). It provides another route for generating visuals within a ComfyUI workflow.Spring Meshis an experimental node intended to distort a mesh using motion maps or flows. It usesmoderngland is described by the author as still very much a work in progress.
Processing collections
Video Queue Managerhelps process a folder of videos one video at a time and one frame at a time when used with auto queue.Folder Queue Managerhelps process a folder’s subfolders one by one when used with auto queue.
What’s New with ComfyUI-QuasimondoNodes
The original README records these updates, from newest to oldest:
- July 31, 2024: Image nodes were added, expanding the collection’s image-processing options.
- July 13, 2024:
Custom Shadergained support for image batches as input textures. This makes uses such as video post-processing possible. - June 28, 2024: An option was added to use many Shadertoy shaders without conversion, making it easier to experiment with shaders from that platform.
- June 21, 2024:
CPPN Generatorwas added as a procedural visual-generation option. - June 1, 2024:
Video Queue ManagerandFolder Queue Managerwere added to help process collections through auto queue.
Learn More about ComfyUI-QuasimondoNodes
- ComfyUI is the application these custom nodes are made for.
- Shadertoy (https://www.shadertoy.com/) is relevant if you want to explore shaders that may be usable with the
Custom Shadernode. The author notes that many, rather than all, Shadertoy shaders can be used without conversion.
