Skip to content

Z. REFERENCE

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

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

Node Description
πŸ•ΈοΈ ADJUST Blur, Sharpen, Emboss, Levels, HSV, Edge detection.
βš—οΈ BLEND Applies selected operation to 2 inputs with optional mask using a linear blend (alpha).
πŸ‘β€πŸ—¨ COLOR BLIND Simulate color blindness effects on images.
πŸ’ž COLOR MATCH Project the colors of one image onto another or use a predefined color target.
πŸ›ž COLOR THEORY Generate complimentary, triadic and tetradic color sets.
βœ‚οΈ CROP Clip away sections of an image and back-fill with optional color matte.
🀿 FILTER MASK Create masks based on specific color ranges within an image.
⬇️ FLATTEN Combine multiple input images into a single image by summing their pixel values.
πŸ‡²πŸ‡Ί GRADIENT MAP Remaps gradient to the input image.
πŸ«‚ PIXEL MERGE Combine 3 or 4 inputs into a single image.
πŸ’” PIXEL SPLIT Splits images into constituent R, G, B, and A channels.
πŸ”ƒ PIXEL SWAP Swap pixel values between images.
βž• STACK Union multiple latents horizontal, vertical, or in a grid.
πŸ“‰ THRESHOLD Clip an input based on a midpoint value.
🏝️ TRANSFORM Translate, Rotate, Scale, Tile, Mirror, Re-project and invert an input.

CREATE

Node Description
πŸŸͺ CONSTANT Create a single RGBA block of color. Useful for masks, overlays, and general filtering.
🍩 GLSL GLSL Shader support.
✨SHAPE GENERATOR Generate polyhedrons for masking or texture work.
πŸ“» STEREOGRAM Generates false perception 3D images from 2D input aka magic eye stereograms.
πŸ•ΆοΈ STEREOSCOPIC Simulates depth perception in images.
πŸ“ TEXT GENERATOR Uses any system font with auto-fit or manual placement.
🎢 WAVE GRAPH Visualizes audio waveforms as bars.

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