Nodes/Jovimetrix/SWIZZLE (JOV) ๐Ÿ˜ต
ComfyUI Node

SWIZZLE (JOV) ๐Ÿ˜ต

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

By AmoranoยทCreated 3 years agoยทUpdated 11 months agoยท 397
SWIZZLE (JOV) ๐Ÿ˜ต
  • ๐Ÿ…ฐ๏ธ
  • ๐Ÿ…ฑ๏ธ
  • VECTOR
  • ๐Ÿฆ„
โ—„โ“VEC3โ–บ
โ—„SWAP XA_Xโ–บ
โ—„SWAP YA_Yโ–บ
โ—„SWAP ZA_Zโ–บ
โ—„SWAP WA_Wโ–บ
CategoryJOVIMETRIX ๐Ÿ”บ๐ŸŸฉ๐Ÿ”ต/CALC

Inputs (8)

NameTypeDefaultDescription
๐Ÿ…ฐ๏ธoptBOOLEAN,FLOAT,INT,VEC2,VEC3,VEC4,VEC2INT,VEC3INT,VEC4INT,COORD2D,COORD3DInput A
๐Ÿ…ฑ๏ธoptBOOLEAN,FLOAT,INT,VEC2,VEC3,VEC4,VEC2INT,VEC3INT,VEC4INT,COORD2D,COORD3DInput B
โ“optCOMBOVEC3Output type desired from resultant operation
SWAP XoptCOMBOA_XReplace input Red channel with target channel or constant
SWAP YoptCOMBOA_YReplace input Red channel with target channel or constant
SWAP ZoptCOMBOA_ZReplace input Red channel with target channel or constant
SWAP WoptCOMBOA_WReplace input W channel with target channel or constant
VECTORoptVEC40,0,0,0Compound value of type float, vec2, vec3 or vec4

Outputs (1)

NameTypeDescription
๐Ÿฆ„*โ€”