Visit ComfyUI Online for ready-to-use ComfyUI environment
Create various geometric shapes in AI-generated artwork with versatile drawing functions for circles, squares, triangles, and more.
The CR Draw Shape
node is designed to help you create various geometric shapes within your AI-generated artwork. This node provides a versatile set of drawing functions that allow you to add shapes like circles, ovals, diamonds, squares, triangles, hexagons, octagons, crosses, quarter circles, half circles, and starbursts to your images. By using this node, you can enhance your designs with precise and customizable shapes, making your artwork more dynamic and visually appealing. The main goal of this node is to offer a straightforward way to incorporate geometric patterns into your creative projects, giving you the flexibility to adjust parameters such as size, aspect ratio, and color to suit your artistic vision.
This parameter represents the drawing context or canvas where the shapes will be rendered. It is essential for the node to know where to draw the shapes, and it typically comes from an image or a similar drawable surface.
The x-coordinate of the center point where the shape will be drawn. This parameter determines the horizontal positioning of the shape on the canvas. The value should be within the width of the canvas.
The y-coordinate of the center point where the shape will be drawn. This parameter determines the vertical positioning of the shape on the canvas. The value should be within the height of the canvas.
This parameter defines the overall size of the shape. It impacts the dimensions of the shape, making it larger or smaller. The value should be a positive number, with higher values resulting in larger shapes.
The aspect ratio parameter adjusts the proportional relationship between the width and height of the shape. For example, an aspect ratio of 1 means the shape is equally wide and tall, while an aspect ratio of 2 means the shape is twice as tall as it is wide. This parameter allows for the creation of elongated or compressed shapes.
This parameter specifies the color of the shape. It can be defined using standard color codes or names, and it determines the fill color of the shape. The color should be chosen to match the desired aesthetic of your artwork.
The CR Draw Shape
node does not produce any direct output parameters. Instead, it modifies the provided drawing context by adding the specified shapes to it. The result is an updated canvas with the newly drawn shapes.
© Copyright 2024 RunComfy. All Rights Reserved.