Visit ComfyUI Online for ready-to-use ComfyUI environment
Perform operations between 3D vector and float for AI artists' vector manipulations, simplifying complex transformations.
The CM_Vec3FloatOperation_JK
node is designed to perform operations between a 3-dimensional vector (Vec3) and a floating-point number. This node is particularly useful for AI artists who need to manipulate 3D vectors in their projects, such as adjusting the scale, translating positions, or applying other mathematical transformations. By providing a straightforward interface to apply a variety of operations, this node simplifies complex vector manipulations, making it easier to achieve the desired effects in your creative workflows.
This parameter specifies the operation to be performed between the Vec3 and the float. It accepts a list of predefined operations, which can include addition, subtraction, multiplication, division, and more. The choice of operation determines how the vector and the float will interact, impacting the final result. The available options are predefined and can be selected from a dropdown menu.
This parameter represents the 3-dimensional vector (Vec3) that will be used in the operation. It consists of three floating-point numbers, typically representing the x, y, and z coordinates. The vector a
serves as one of the primary inputs for the operation, and its values will be manipulated according to the selected operation and the float b
. The default value is a vector with all components set to zero, i.e., (0.0, 0.0, 0.0).
This parameter is the floating-point number that will be used in conjunction with the Vec3 a
in the operation. The float b
acts as a scalar value that modifies the vector a
based on the chosen operation. The default value is 0.0, but it can be adjusted to any floating-point number as needed for the specific operation.
The output of this node is a 3-dimensional vector (Vec3) that results from the operation between the input vector a
and the float b
. This output vector reflects the transformation applied by the selected operation, providing a new set of x, y, and z coordinates. The resulting vector can be used in subsequent nodes or processes within your project, enabling further manipulation or visualization.
a
. For example, using multiplication can scale the vector, while addition can translate it.a
is not a valid Vec3a
does not have the correct format or contains invalid values.a
is a valid 3-dimensional vector with three floating-point numbers.b
is not a valid numberb
is not a valid floating-point number.b
is a valid number and within the acceptable range for your operation.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.