Skip to content

Z. REFERENCE

Alexander G. Morano edited this page Aug 16, 2024 · 7 revisions

CALC

These nodes enable a wide range of mathematical operations and conversions on various value types. They offer capabilities for comparisons, delays, interpolations, unary and binary operations, component swapping, timing control, value generation, and waveform creation. This set of tools is essential for performing complex calculations, synchronizing workflows, and generating dynamic data for various applications.

πŸ•΅πŸ½ COMPARISON

Evaluates two inputs (A and B) with a specified comparison operators and optional values for successful and failed comparisons. The node performs the specified operation element-wise between corresponding elements of A and B. If the comparison is successful for all elements, it returns the success value; otherwise, it returns the failure value. The node supports various comparison operators such as EQUAL, GREATER_THAN, LESS_THAN, AND, OR, IS, IN, etc.

πŸ•΅πŸ½ COMPARISON

βœ‹ DELAY

Introduce pauses in the workflow that accept an optional input to pass through and a timer parameter to specify the duration of the delay. If no timer is provided, it defaults to a maximum delay. During the delay, it periodically checks for messages to interrupt the delay. Once the delay is completed, it returns the input passed to it.

βœ‹ DELAY

πŸ”° LERP

Calculate linear interpolation between two values or vectors based on a blending factor (alpha). The node accepts optional start (IN_A) and end (IN_B) points, a blending factor (FLOAT), and various input types for both start and end points, such as single values (X, Y), 2-value vectors (IN_A2, IN_B2), 3-value vectors (IN_A3, IN_B3), and 4-value vectors (IN_A4, IN_B4). Additionally, you can specify the easing function (EASE) and the desired output type (TYPE). It supports various easing functions for smoother transitions.

πŸ”° LERP

🎲 OP UNARY

Perform single function operations like absolute value, mean, median, mode, magnitude, normalization, maximum, or minimum on input values.

🎲 OP UNARY

🌟 OP BINARY

Execute binary operations like addition, subtraction, multiplication, division, and bitwise operations on input values, supporting various data types and vector sizes.

🌟 OP BINARY

😡 SWIZZLE

Swap components between two vectors based on specified swizzle patterns and values. It provides flexibility in rearranging vector elements dynamically.

😡 SWIZZLE

πŸ•› TICK

A timer and frame counter, emitting pulses or signals based on time intervals. It allows precise synchronization and control over animation sequences, with options to adjust FPS, BPM, and loop points. This node is useful for generating time-based events or driving animations with rhythmic precision.

πŸ•› TICK

🧬 VALUE

Supplies raw or default values for various data types, supporting vector input with components for X, Y, Z, and W. It also provides a string input option.

🧬 VALUE

🌊 WAVE GENERATOR

Produce waveforms like sine, square, or sawtooth with adjustable frequency, amplitude, phase, and offset. It's handy for creating oscillating patterns or controlling animation dynamics. This node emits both continuous floating-point values and integer representations of the generated waves.

🌊 WAVE GENERATOR

COMPOSE

These nodes provide advanced capabilities for arranging and manipulating visual elements within a frame, allowing for the creation of balanced and harmonious compositions. They enable precise pixel manipulation with various effects, including blending, color adjustments, filtering, and transformations. This suite of tools ensures creative control and flexibility in your image processing workflows.

πŸ•ΈοΈ ADJUST

Enhance and modify images with various effects such as blurring, sharpening, color tweaks, and edge detection. Customize parameters like radius, value, and contrast, and use masks for selective effects. Advanced options include pixelation, quantization, and morphological operations like dilation and erosion. Handle transparency effortlessly to ensure seamless blending of effects. This node is ideal for simple adjustments and complex image transformations.

πŸ•ΈοΈ ADJUST

βš—οΈ BLEND

Combine two input images using various blending modes, such as normal, screen, multiply, overlay, etc. It also supports alpha blending and masking to achieve complex compositing effects. This node is essential for creating layered compositions and adding visual richness to images.

βš—οΈ BLEND

πŸ‘β€πŸ—¨ COLOR BLIND

Simulate color blindness effects on images. You can select various types of color deficiencies, adjust the severity of the effect, and apply the simulation using different simulators. This node is ideal for accessibility testing and design adjustments, ensuring inclusivity in your visual content.

πŸ‘β€πŸ—¨ COLORBLIND

πŸ’ž COLOR MATCH

Adjust the color scheme of one image to match another with the Color Match Node. Choose from various color matching modes, including LUT, Histogram, and Reinhard. You can specify options like color maps, the number of colors, and whether to flip or invert the images. This node allows for the creation of seamless and cohesive visuals, making it ideal for texture work or masking in motion graphics and design projects.

πŸ’ž COLOR MATCH

πŸ›ž COLOR THEORY

Generate a color harmony based on the selected scheme. Supported schemes include complimentary, analogous, triadic, tetradic, and more. Users can customize the angle of separation for color calculations, offering flexibility in color manipulation and exploration of different color palettes.

πŸ›ž COLOR THEORY

βœ‚οΈ CROP

Extract a portion of an input image or resize it. It supports various cropping modes, including center cropping, custom XY cropping, and free-form polygonal cropping. This node is useful for preparing image data for specific tasks or extracting regions of interest.

βœ‚οΈ CROP

🀿 FILTER MASK

The Filter Mask node allows you to create masks based on color ranges within an image, ideal for selective filtering and masking tasks. You can specify the color range using start and end values along with an optional fuzziness factor to adjust the range. This node provides flexibility in defining precise color-based masks for various image processing applications.

🀿 FILTER MASK

⬇️ FLATTEN

Combine multiple input images into a single image by summing their pixel values. This operation is useful for merging multiple layers or images into one composite image, such as combining different elements of a design or merging masks. Users can specify the blending mode and interpolation method to control how the images are combined. Additionally, a matte can be applied to adjust the transparency of the final composite image.

⬇️ FLATTEN

πŸ‡²πŸ‡Ί GRADIENT MAP

Remaps an input image using a gradient lookup table (LUT) to allow precise control over color mapping by applying the gradient to the input image. The gradient image will be translated into a single row lookup table. This node is useful for artistic effects, color grading, and mapping specific color ranges to achieve desired visual effects.

πŸ‡²πŸ‡Ί GRADIENT MAP

πŸ«±πŸΏβ€πŸ«²πŸΌ PIXEL MERGE

Combines individual color channels (red, green, blue) along with an optional mask channel to create a composite image. This node is useful for merging separate color components into a single image for visualization or further processing.

πŸ«±πŸΏβ€πŸ«²πŸΌ Pixel Merge

πŸ’” PIXEL SPLIT

Takes an input image and splits it into its individual color channels (red, green, blue), along with a mask channel. This node is useful for separating different color components of an image for further processing or analysis.

πŸ’” PIXEL SPLIT

πŸ”ƒ PIXEL SWAP

Swap pixel values between two input images based on specified channel swizzle operations. Options include pixel inputs, swap operations for red, green, blue, and alpha channels, and constant values for each channel. The swap operations allow for flexible pixel manipulation by determining the source of each channel in the output image, whether it be from the first image, the second image, or a constant value.

πŸ”ƒ Pixel Swap

βž• STACK

Merge multiple input images into a single composite image by stacking them along a specified axis. Options include axis, stride, scaling mode, width and height, interpolation method, and matte color. The axis parameter allows for horizontal, vertical, or grid stacking of images, while stride controls the spacing between them.

βž• STACK

πŸ“‰ THRESHOLD

Define a range and apply it to an image for segmentation and feature extraction. Choose from various threshold modes, such as binary and adaptive, and adjust the threshold value and block size to suit your needs. You can also invert the resulting mask if necessary. This node is versatile for a variety of image processing tasks.

πŸ“‰ THRESHOLD

🌱 TRANSFORM

Apply various geometric transformations to images, including translation, rotation, scaling, mirroring, tiling and perspective projection. It offers extensive control over image manipulation to achieve desired visual effects.

🌱 TRANSFORM

CREATE

These nodes enable the creation of diverse shapes, images, and masks with customizable parameters. They offer precise control over dimensions, colors, and effects. This ensures flexibility and accuracy in your image processing workflows.

πŸŸͺ CONSTANT

Generate a constant image or mask of a specified size and color. It can be used to create solid color backgrounds or matte images for compositing with other visual elements. The node allows you to define the desired width and height of the output and specify the RGBA color value for the constant output. Additionally, you can input an optional image to use as a matte with the selected color.

CONSTANT

🍩 GLSL

Execute custom GLSL (OpenGL Shading Language) fragment shaders to generate images or apply effects. GLSL is a high-level shading language used for graphics programming, particularly in the context of rendering images or animations. This node allows for real-time rendering of shader effects, providing flexibility and creative control over image processing pipelines. It takes advantage of GPU acceleration for efficient computation, enabling the rapid generation of complex visual effects.

GLSL

✨ SHAPE GEN

Create n-sided polygons. These shapes can be customized by adjusting parameters such as size, color, position, rotation angle, and edge blur. The node provides options to specify the shape type, the number of sides for polygons, the RGBA color value for the main shape, and the RGBA color value for the background. Additionally, you can control the width and height of the output images, the position offset, and the amount of edge blur applied to the shapes.

SHAPE GEN

πŸ“» STEREOGRAM

Generates false perception 3D images from 2D input. Set tile divisions, noise, gamma, and shift parameters to control the stereogram's appearance.

STEREOGRAM

πŸ•ΆοΈ STEREOSCOPIC

Simulates depth perception in images by generating stereoscopic views. It accepts an optional input image for color matte. Adjust baseline and focal length for customized depth effects.

STEREOSCOPIC

πŸ“ TEXT GEN

Generates images containing text based on parameters such as font, size, alignment, color, and position. Users can input custom text messages, select fonts from a list of available options, adjust font size, and specify the alignment and justification of the text. Additionally, the node provides options for auto-sizing text to fit within specified dimensions, controlling letter-by-letter rendering, and applying edge effects such as clipping and inversion.

TEXT GEN

🎢 WAVE GRAPH

Visualizes audio waveforms as bars. Adjust parameters like the number of bars, bar thickness, and colors.

WAVE GRAPH

DEVICE

Node Description
✳️ MIDI FILTER Filter MIDI messages by channel, message type or value.
❇️ MIDI FILTER EZ Filter MIDI messages by channel, message type or value.
πŸŽ›οΈ MIDI MESSAGE Expands a MIDI message into its values.
🎹 MIDI READER Capture MIDI devices and pass the data into Comfy.
πŸŽ₯ SPOUT WRITER Sends frames to a specified Spout receiver application for real-time video sharing.
πŸ“Ί STREAM READER Connect system media devices and remote streams into ComfyUI workflows.
🎞️ STREAM WRITER Broadcast ComfyUI Node outputs to custom webserver endpoint.

UTILITY

Node Description
πŸ““ AKASHIC Display the top-level attributes of an output.
πŸ“š ARRAY Merging, pickle, slice, random select, or index data.
πŸ“½ EXPORT Take your frames out static or animated (GIF).
πŸ“ˆ GRAPH Graphs historical execution run values.
πŸ—ƒ QUEUE Cycle lists of images files or strings for node inputs.
🚌 ROUTE Pass all data because the default is broken on connection.
πŸ’Ύ SAVE OUTPUT Save output image with metadata to any path.
Clone this wiki locally