Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply spherizing effect to images for dynamic 3D distortions with creative flexibility.
The SpherizeNode is a powerful tool designed to apply a spherizing effect to images, creating a visual distortion that mimics the appearance of an image being wrapped around a sphere. This node is particularly useful for artists looking to add a dynamic and three-dimensional effect to their images, enhancing the visual interest and depth. By manipulating the image's pixels based on their distance from a specified center point, the node can create both convex and concave distortions, depending on the strength parameter. Additionally, the node offers a cylindrical mode, allowing for horizontal or vertical deformations, providing further creative flexibility. The SpherizeNode is an essential component for artists aiming to experiment with image deformation and achieve unique artistic effects.
The image
parameter is the input image that you want to apply the spherizing effect to. It is the primary source material for the node's operations and should be provided in a compatible format.
The strength
parameter controls the intensity of the spherizing effect. A positive value results in a convex distortion, pushing the image outward, while a negative value creates a concave effect, pulling the image inward. The range for this parameter is from -2.0 to 2.0, with a default value of 0.5. Adjusting this parameter allows you to fine-tune the degree of distortion applied to the image.
The radius
parameter defines the effective radius of the spherizing effect, determining how far from the center the effect will extend. It ranges from 0.1 to 2.0, with a default value of 1.0. A larger radius will affect a greater portion of the image, while a smaller radius will confine the effect to a more localized area.
The center_x
parameter specifies the horizontal position of the center point for the spherizing effect, expressed as a fraction of the image's width. It ranges from 0.0 to 1.0, with a default value of 0.5, placing the center at the middle of the image horizontally. Adjusting this parameter allows you to shift the focal point of the distortion left or right.
The center_y
parameter determines the vertical position of the center point for the spherizing effect, expressed as a fraction of the image's height. It ranges from 0.0 to 1.0, with a default value of 0.5, centering the effect vertically. This parameter lets you move the focal point of the distortion up or down within the image.
The mode
parameter allows you to choose between two types of deformation: "spherize" and "cylindrical". The default mode is "spherize", which applies a spherical distortion to the image. The "cylindrical" mode, on the other hand, applies a horizontal or vertical deformation, depending on the image's aspect ratio, providing a different type of visual effect.
The output of the SpherizeNode is an IMAGE
that has been transformed according to the specified parameters. This output image reflects the applied spherizing or cylindrical effect, showcasing the visual distortion and creative transformation achieved through the node's processing. The resulting image can be used for further artistic manipulation or as a final piece.
strength
values to achieve varying levels of distortion, from subtle to dramatic, to suit your artistic vision.center_x
and center_y
parameters to shift the focal point of the effect, allowing you to create off-center distortions that can add dynamic interest to your compositions.strength
parameter is set outside the allowed range of -2.0 to 2.0.strength
value to be within the specified range to ensure proper functioning of the node.radius
parameter is set outside the allowed range of 0.1 to 2.0.radius
value to fall within the acceptable range to achieve the desired effect.center_x
or center_y
parameters are set outside the range of 0.0 to 1.0.center_x
and center_y
are within the specified range to correctly position the center of the effect.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.