Visit ComfyUI Online for ready-to-use ComfyUI environment
Draw pie slice shape on image in container with customizable angles, colors, and appearance.
The ImageDrawPiesliceByContainer node is designed to draw a pie slice shape on an image within a specified container. This node is particularly useful for creating visual elements that require a pie slice, such as charts, graphs, or decorative graphics. By leveraging this node, you can easily define the start and end angles, as well as the position and size of the pie slice. Additionally, you can customize the appearance with various outline and fill colors, making it a versatile tool for AI artists looking to enhance their images with precise and customizable shapes.
The container parameter represents the image data on which the pie slice will be drawn. It is typically a multidimensional array that holds the pixel information of the image. This parameter is crucial as it defines the canvas for the pie slice.
The start_x parameter specifies the x-coordinate of the starting point of the pie slice. This determines the horizontal position where the pie slice begins.
The start_y parameter specifies the y-coordinate of the starting point of the pie slice. This determines the vertical position where the pie slice begins.
The end_x parameter specifies the x-coordinate of the ending point of the pie slice. This determines the horizontal position where the pie slice ends.
The end_y parameter specifies the y-coordinate of the ending point of the pie slice. This determines the vertical position where the pie slice ends.
The start parameter defines the starting angle of the pie slice in degrees. This angle is measured from the x-axis and determines where the pie slice begins.
The end parameter defines the ending angle of the pie slice in degrees. This angle is measured from the x-axis and determines where the pie slice ends.
The outline_size parameter specifies the thickness of the outline of the pie slice. A larger value results in a thicker outline.
The outline_red parameter sets the red component of the outline color. It ranges from 0 to 255.
The outline_green parameter sets the green component of the outline color. It ranges from 0 to 255.
The outline_blue parameter sets the blue component of the outline color. It ranges from 0 to 255.
The outline_alpha parameter sets the alpha (transparency) component of the outline color. It ranges from 0 (completely transparent) to 255 (completely opaque).
The fill_red parameter sets the red component of the fill color. It ranges from 0 to 255.
The fill_green parameter sets the green component of the fill color. It ranges from 0 to 255.
The fill_blue parameter sets the blue component of the fill color. It ranges from 0 to 255.
The fill_alpha parameter sets the alpha (transparency) component of the fill color. It ranges from 0 (completely transparent) to 255 (completely opaque).
The SSAA parameter stands for Supersample Anti-Aliasing. It is a method used to reduce aliasing (jagged edges) in the pie slice. Enabling SSAA can result in smoother edges.
The method parameter specifies the drawing method to be used. Different methods may offer various optimizations or visual effects.
The IMAGE output parameter represents the resulting image with the drawn pie slice. This output is crucial as it provides the final visual result that incorporates the pie slice into the original image.
SSAA parameter to reduce jagged edges.start and end angles to create various pie slice shapes, such as semi-circles or quarter-circles.outline and fill parameters to make the pie slice stand out against the background image.container parameter does not have the expected format or dimensions.container is a valid image array with the correct dimensions and data type.outline_red, outline_green, outline_blue, outline_alpha, fill_red, fill_green, fill_blue, fill_alpha) is out of the acceptable range (0-255).start or end angle is not within the valid range.start and end angles are specified in degrees and are within the range of 0 to 360.start_x, start_y, end_x, end_y) is out of the image bounds.container.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.