Visit ComfyUI Online for ready-to-use ComfyUI environment
Draw complex chord shapes on image canvas with precise control over angles, coordinates, color, and transparency.
The ImageDrawChord
node is designed to draw a chord, which is a region bounded by the intersection of an ellipse and a line segment, on an image canvas. This node is particularly useful for creating complex shapes and designs in your AI-generated artwork. By specifying the start and end angles, as well as the bounding box coordinates, you can precisely control the appearance of the chord. The node also allows you to customize the color and transparency of the chord, making it a versatile tool for adding detailed graphical elements to your images.
This parameter represents the input image container from which the dimensions are derived. It is used to determine the width and height of the canvas on which the chord will be drawn.
This parameter defines the thickness of the chord's outline. It impacts how bold or thin the chord appears on the canvas. The value should be a positive integer.
This parameter specifies the x-coordinate of the starting point of the bounding box for the chord, as a fraction of the image width. It ranges from 0 to 1, where 0 represents the left edge and 1 represents the right edge of the image.
This parameter specifies the y-coordinate of the starting point of the bounding box for the chord, as a fraction of the image height. It ranges from 0 to 1, where 0 represents the top edge and 1 represents the bottom edge of the image.
This parameter specifies the x-coordinate of the ending point of the bounding box for the chord, as a fraction of the image width. It ranges from 0 to 1, where 0 represents the left edge and 1 represents the right edge of the image.
This parameter specifies the y-coordinate of the ending point of the bounding box for the chord, as a fraction of the image height. It ranges from 0 to 1, where 0 represents the top edge and 1 represents the bottom edge of the image.
This parameter defines the starting angle of the chord in degrees. It determines where the chord begins along the ellipse's perimeter.
This parameter defines the ending angle of the chord in degrees. It determines where the chord ends along the ellipse's perimeter.
This parameter specifies the red component of the chord's color. It ranges from 0 to 255.
This parameter specifies the green component of the chord's color. It ranges from 0 to 255.
This parameter specifies the blue component of the chord's color. It ranges from 0 to 255.
This parameter specifies the transparency level of the chord. It ranges from 0 (completely transparent) to 1 (completely opaque).
This parameter stands for Supersample Anti-Aliasing. It is a multiplier that enhances the quality of the drawn chord by rendering it at a higher resolution and then downscaling it. Higher values result in smoother edges but require more processing power.
This parameter specifies the resampling method used when resizing the canvas back to its original dimensions. Common methods include "nearest", "bilinear", and "bicubic".
The output is an image tensor containing the drawn chord. This tensor can be used in subsequent nodes for further image processing or rendering. The output image retains the original dimensions of the input container but includes the newly drawn chord.
© Copyright 2024 RunComfy. All Rights Reserved.