Visit ComfyUI Online for ready-to-use ComfyUI environment
Node for manipulating and transforming vector data through component reordering and swapping, aiding AI artists in complex operations.
The SWIZZLE (JOV) π΅ node is designed to manipulate and transform vector data by reordering or swapping its components. This node is particularly useful for AI artists who need to perform complex vector operations without delving into the underlying mathematical details. By allowing you to specify how each component of the input vectors should be rearranged or swapped, the SWIZZLE (JOV) π΅ node provides a flexible and powerful tool for creative vector manipulation. Whether you are working with 2D, 3D, or 4D vectors, this node helps streamline the process, making it easier to achieve the desired transformations and effects in your projects.
This parameter represents the first input vector, which is a 4D vector by default. It is used as one of the primary sources for the swizzle operation. The default value is [(0,0,0,0)].
This parameter represents the second input vector, which is also a 4D vector by default. It serves as the other primary source for the swizzle operation. The default value is [(0,0,0,0)].
This parameter specifies how the X component of the output vector should be derived. It can take values from the EnumSwizzle enumeration, such as A_X, A_Y, A_Z, A_W, B_X, B_Y, B_Z, and B_W. The default value is A_X.
This parameter provides a float value that can be used to override the X component of the output vector. The default value is 0.
This parameter specifies how the Y component of the output vector should be derived. It can take values from the EnumSwizzle enumeration, similar to SWAP_X. The default value is A_Y.
This parameter provides a float value that can be used to override the Y component of the output vector. The default value is 0.
This parameter specifies how the Z component of the output vector should be derived. It can take values from the EnumSwizzle enumeration, similar to SWAP_X. The default value is A_W.
This parameter provides a float value that can be used to override the Z component of the output vector. The default value is 0.
This parameter specifies how the W component of the output vector should be derived. It can take values from the EnumSwizzle enumeration, similar to SWAP_X. The default value is A_Z.
This parameter provides a float value that can be used to override the W component of the output vector. The default value is 0.
The output of the SWIZZLE (JOV) π΅ node is a list of transformed vectors. Each vector in the list is the result of applying the specified swizzle operations to the corresponding input vectors. The output vectors can be used in subsequent nodes or processes to achieve the desired visual or computational effects.
Β© Copyright 2024 RunComfy. All Rights Reserved.