A collection of various custom nodes for ComfyUI (Work in progress)
Nodes I wrote mostly for myself since I find it often quicker to write my own solution than trying to find an existing one. I am pretty sure that I will be reinventing the wheel here quite often. To be used with comfyanonymous/ComfyUI as custom nodes.
- July 31st 2024: Added image nodes
- July 13th 2024: Added support for image batches as input for Custom Shader textures which allow for example video postprocessing
- June 28th 2024: Added option to use many Shadertoy (https://www.shadertoy.com/) shaders without conversion
- June 21st 2024: Added
CPPN Generator
- June 1st 2024: Added
Video Queue Manager
andFolder Queue Manager
ImageToOpticalFlow
: Converts an image to optical flow representation, allowing users to specify which color channels represent x and y components, and apply scaling and offset.ShiftMask
: Shifts a mask by a specified x and y offset.SlitScan
: Applies a slit-scan effect to a sequence of images using masks, allowing for time manipulation and blending.DistanceMap
: Generates a distance map from a binary mask and returns the coordinates of a point based on the specified mode (max, min, or median distance).TemporalBlur
: Applies temporal blurring to a sequence of images, considering frames before and after the current frame with a customizable falloff.PreviewMask
: Generates a preview image of masks and saves them as temporary files for UI display.CoordinatesFromMask
: Extracts coordinates of points from a mask based on various parameters like percentage, minimum distance from edge, and maximum number of points. It also generates a point mask.Custom Shader
: This allows you to integrate your own OpenGL shaders. Even allows to generate animations. (uses the moderngl library)Spring Mesh
: This node is still very much work in progress - the idea is to distort a mesh using motion maps or flows (uses the moderngl library)Video Queue Manager
: This node allows to process an entire folder containing videos one-by-one and frame-by-frame when used in conjunction with auto queue.Folder Queue Manager
: This node allows to process an entire folder sub-folders one-by-one in conjunction with auto queue.Image Blend Mask (Batch)
: This is just a simple replacement for Image Blend Mask that also works with batchesCPPN Generator
: A node based on Hardmaru's Compositional Pattern-Producing Networks (CPPN)
- Enter ComfyUI's Python Environment by running
.\.venv\Scripts\activate
from ComfyUI's root directory. - Clone this repo into ComfyUI's
custom_nodes
directory by entering the directory and running:git clone [email protected]:Quasimondo/ComfyUI-QuasimondoNodes.git ComfyUI-QuasimondoNodes
. - Enter the
ComfyUI-QuasimondoNodes
directory. - Run
pip install -r .\requirements.txt
to install this project's dependencies. - Start ComfyUI as normal.