ComfyUI  >  Nodes  >  Comfyroll Studio >  🟩 CR Polygons

ComfyUI Node: 🟩 CR Polygons

Class Name

CR Polygons

Category
🧩 Comfyroll Studio/👾 Graphics/🌈 Pattern
Author
Suzie1 (Account age: 2158 days)
Extension
Comfyroll Studio
Latest Updated
6/5/2024
Github Stars
0.5K

How to Install Comfyroll Studio

Install this extension via the ComfyUI Manager by searching for  Comfyroll Studio
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyroll Studio in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🟩 CR Polygons Description

Generate versatile geometric patterns for AI art with CR Polygons node, enhancing artwork with intricate details and abstract elements.

🟩 CR Polygons:

The CR Polygons node is designed to generate polygonal shapes within your AI art projects, providing a versatile tool for creating geometric patterns and designs. This node allows you to define and manipulate various polygonal shapes, which can be used to add intricate details or abstract elements to your artwork. By leveraging the capabilities of this node, you can create complex and visually appealing patterns that enhance the overall aesthetic of your creations. The primary goal of the CR Polygons node is to offer a flexible and user-friendly way to incorporate polygonal graphics into your AI-generated art, making it an essential tool for artists looking to explore geometric designs.

🟩 CR Polygons Input Parameters:

Number of Sides

This parameter defines the number of sides for the polygon. Increasing the number of sides will result in a shape that more closely resembles a circle, while decreasing the number of sides will create more angular shapes. The minimum value is 3 (triangle), and there is no strict maximum, but higher values will create more complex shapes. The default value is typically set to 5.

Radius

The radius parameter controls the size of the polygon by defining the distance from the center to any of its vertices. A larger radius will create a bigger polygon, while a smaller radius will produce a smaller shape. The minimum value is 1, and there is no strict maximum, but it should be set according to the desired size of the polygon within your artwork. The default value is usually set to 50.

Rotation

This parameter allows you to rotate the polygon around its center. The rotation is measured in degrees, with 0 degrees representing no rotation. Positive values will rotate the polygon clockwise, while negative values will rotate it counterclockwise. The range is from -360 to 360 degrees, with a default value of 0 degrees.

Position X

The Position X parameter sets the horizontal position of the polygon within the canvas. It determines the distance from the left edge of the canvas to the center of the polygon. The value can range from 0 to the width of the canvas, with a default value typically set to the center of the canvas.

Position Y

The Position Y parameter sets the vertical position of the polygon within the canvas. It determines the distance from the top edge of the canvas to the center of the polygon. The value can range from 0 to the height of the canvas, with a default value typically set to the center of the canvas.

Fill Color

This parameter defines the color used to fill the interior of the polygon. It can be set using standard color values (e.g., hex codes, RGB values). The default value is usually set to a neutral color like black or white, but it can be customized to match the desired color scheme of your artwork.

Stroke Color

The Stroke Color parameter sets the color of the polygon's outline. Similar to the Fill Color, it can be defined using standard color values. The default value is typically set to black, but it can be adjusted to any color that complements the fill color and overall design.

Stroke Width

This parameter controls the thickness of the polygon's outline. A larger stroke width will create a bolder outline, while a smaller stroke width will produce a finer line. The minimum value is 0 (no outline), and there is no strict maximum, but it should be set according to the desired visual effect. The default value is usually set to 1.

🟩 CR Polygons Output Parameters:

Polygon Image

The Polygon Image output parameter provides the generated polygonal shape as an image. This image can be used directly in your artwork or further manipulated using other nodes. The output is typically in a standard image format (e.g., PNG) and can be easily integrated into your creative workflow.

🟩 CR Polygons Usage Tips:

  • Experiment with different numbers of sides to create a variety of shapes, from simple triangles to complex polygons.
  • Adjust the radius and position parameters to place and size the polygon appropriately within your canvas.
  • Use the rotation parameter to add dynamic angles and orientations to your polygons.
  • Customize the fill and stroke colors to match the color scheme of your artwork and create visually appealing designs.
  • Combine multiple polygons with different settings to create intricate patterns and layered effects.

🟩 CR Polygons Common Errors and Solutions:

Invalid Number of Sides

  • Explanation: The number of sides must be an integer greater than or equal to 3. - Solution: Ensure that the Number of Sides parameter is set to a valid integer value of 3 or higher.

Radius Out of Range

  • Explanation: The radius value must be a positive number.
  • Solution: Check that the Radius parameter is set to a positive value greater than 0.

Invalid Color Value

  • Explanation: The fill or stroke color value is not in a recognized format.
  • Solution: Verify that the color values are correctly formatted (e.g., hex codes, RGB values) and adjust them as needed.

Position Out of Bounds

  • Explanation: The position values (X or Y) are outside the canvas dimensions.
  • Solution: Ensure that the Position X and Position Y parameters are within the valid range of the canvas size.

Stroke Width Too Large

  • Explanation: The stroke width is excessively large, causing visual distortion.
  • Solution: Reduce the Stroke Width parameter to a more reasonable value that fits the desired outline thickness.

🟩 CR Polygons Related Nodes

Go back to the extension to check out more related nodes.
Comfyroll Studio
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.