A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
The LayerUtility: GradientImage
node in the ComfyUI LayerStyle extension is designed to generate a gradient image. This node allows users to create images that transition smoothly between two specified colors over a given angle, width, and height.
The GradientImage
node requires the following inputs:
Width
Height
Angle
Start Color
#FFFFFF
(white)End Color
#000000
(black)The node produces the following output:
The GradientImage
node is a versatile tool in ComfyUI workflows that allows users to create gradient backgrounds or layers to be used in graphic designs. It is particularly useful in visual projects that require smooth color transitions for aesthetic effects.
Typical use cases include:
To use this node in a workflow, simply specify the desired parameters and connect the output to subsequent nodes that will utilize the generated gradient image.
Angle Customization: The node allows for full 360-degree directional customization of the gradient with the angle
parameter, affording users significant flexibility in determining the direction of the color transition.
Color Input in Hexadecimal: Both the start and end colors are defined using hexadecimal color codes, a standard format in digital design, allowing for precise color selection.
Flexible Dimensions: With wide-ranging constraints on image dimensions, this node supports creating images for both small-scale and large-scale applications. Users should be mindful of the maximum limits to ensure appropriate resource usage.
Overall, the GradientImage
node provides an essential capability within the ComfyUI ecosystem, offering users the ability to create dynamic visual elements with customizable gradients.