ComfyUI > Nodes > ComfyUI-Purz > Hexagon Pattern (Purz)

ComfyUI Node: Hexagon Pattern (Purz)

Class Name

PurzHexagonPattern

Category
Purz/Patterns/Basic
Author
purzbeats (Account age: 1545days)
Extension
ComfyUI-Purz
Latest Updated
2026-02-06
Github Stars
0.02K

How to Install ComfyUI-Purz

Install this extension via the ComfyUI Manager by searching for ComfyUI-Purz
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Purz 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Hexagon Pattern (Purz) Description

Generates customizable hexagon patterns for artistic backgrounds and textures.

Hexagon Pattern (Purz):

The PurzHexagonPattern node is designed to generate intricate hexagon or honeycomb patterns, often referred to as hexagonal tiling. This node is particularly useful for creating visually appealing backgrounds or textures that mimic the natural structure of honeycombs. By leveraging this node, you can produce patterns that are both aesthetically pleasing and geometrically precise, making it an excellent tool for artists looking to incorporate geometric designs into their work. The node's primary function is to automate the creation of these patterns, allowing you to customize various aspects such as size, color, and line width to suit your artistic vision. This flexibility ensures that you can achieve a wide range of effects, from subtle textures to bold, graphic designs.

Hexagon Pattern (Purz) Input Parameters:

width

The width parameter determines the width of the generated pattern in pixels. It allows you to specify how wide the pattern should be, with a minimum value of 64 pixels and a maximum of 4096 pixels. The default value is set to 512 pixels, and you can adjust it in increments of 8 pixels. This parameter is crucial for defining the horizontal extent of your pattern, ensuring it fits the intended space in your artwork.

height

The height parameter specifies the height of the pattern in pixels, similar to the width parameter. It ranges from a minimum of 64 pixels to a maximum of 4096 pixels, with a default value of 512 pixels. You can adjust the height in increments of 8 pixels. This parameter is essential for setting the vertical dimension of your pattern, allowing you to create patterns that are proportionate to your design needs.

hexagon_size

The hexagon_size parameter controls the size of each hexagon in the pattern. It ranges from a minimum of 10 to a maximum of 200, with a default value of 30. You can adjust the size in increments of 5. This parameter directly impacts the scale of the hexagons, enabling you to create patterns with larger or smaller hexagons depending on the desired visual effect.

line_width

The line_width parameter defines the thickness of the lines that outline each hexagon. It can be set from 0 to 10, with a default value of 2. Adjusting this parameter allows you to create patterns with varying line thicknesses, which can enhance the visual contrast and detail of the pattern.

background_color

The background_color parameter allows you to set the color of the background on which the hexagons are drawn. It accepts a string representing a color in hexadecimal format, with a default value of #FFFFFF (white). This parameter is important for defining the backdrop of your pattern, which can significantly influence the overall appearance.

hexagon_color

The hexagon_color parameter specifies the fill color of the hexagons. Like the background_color, it accepts a hexadecimal color string, with a default value of #FFFFFF (white). This parameter is crucial for determining the color of the hexagons themselves, allowing you to create patterns with different color schemes.

line_color

The line_color parameter sets the color of the lines outlining each hexagon. It accepts a hexadecimal color string, with a default value of #000000 (black). This parameter is essential for defining the color of the hexagon outlines, which can add contrast and definition to the pattern.

filled

The filled parameter is a boolean that determines whether the hexagons are filled with color or not. The default value is True, meaning the hexagons are filled by default. This parameter allows you to create either solid or outlined hexagons, providing flexibility in the pattern's appearance.

batch_size

The batch_size parameter specifies the number of pattern images to generate in one batch. It ranges from 1 to 16, with a default value of 1. This parameter is useful for generating multiple variations of the pattern simultaneously, which can be beneficial for experimentation or batch processing.

Hexagon Pattern (Purz) Output Parameters:

image

The image output parameter represents the generated hexagon pattern as an image. This output is crucial as it provides the visual result of the node's processing, which you can then use in your artwork or further manipulate in your creative workflow. The image reflects all the input parameters' settings, showcasing the customized hexagon pattern you have created.

Hexagon Pattern (Purz) Usage Tips:

  • Experiment with different hexagon_size and line_width settings to achieve various visual effects, from delicate patterns to bold, graphic designs.
  • Use contrasting background_color, hexagon_color, and line_color to enhance the visibility and impact of the pattern, especially when creating designs meant to stand out.
  • Adjust the batch_size to generate multiple pattern variations quickly, which can be useful for exploring different design options or creating a series of related artworks.

Hexagon Pattern (Purz) Common Errors and Solutions:

Invalid color format

  • Explanation: This error occurs when the color parameters (background_color, hexagon_color, or line_color) are not provided in the correct hexadecimal format.
  • Solution: Ensure that all color inputs are valid hexadecimal strings, such as #FFFFFF for white or #000000 for black.

Image size too large

  • Explanation: This error may arise if the combined width and height exceed the maximum allowable dimensions.
  • Solution: Verify that both width and height are within the specified range (64 to 4096 pixels) and adjust them accordingly to fit within the limits.

Batch size exceeds limit

  • Explanation: This error occurs when the batch_size is set higher than the maximum allowed value.
  • Solution: Ensure that the batch_size is set between 1 and 16, and adjust it if necessary to comply with the allowed range.

Hexagon Pattern (Purz) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Purz
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.