ComfyUI > Nodes > ComfyUI-Purz > Polka Dot Pattern (Purz)

ComfyUI Node: Polka Dot Pattern (Purz)

Class Name

PurzPolkaDotPattern

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

Polka Dot Pattern (Purz) Description

Generates customizable polka dot patterns with adjustable size, spacing, color, and stagger options.

Polka Dot Pattern (Purz):

The PurzPolkaDotPattern node is designed to generate visually appealing polka dot patterns, offering a simple yet effective way to create repetitive dot designs with customizable features. This node is particularly useful for artists and designers looking to incorporate polka dot patterns into their projects, whether for backgrounds, textures, or artistic compositions. The node allows you to define the size, spacing, and colors of the dots, as well as the overall dimensions of the pattern. Additionally, it provides an option to stagger the dots, adding a dynamic and varied look to the pattern. By leveraging these capabilities, you can create a wide range of polka dot designs tailored to your specific artistic needs.

Polka Dot Pattern (Purz) Input Parameters:

width

The width parameter determines the horizontal dimension of the generated polka dot pattern. It allows you to specify the width in pixels, with a minimum value of 64 and a maximum of 4096. The default value is set to 512 pixels. Adjusting this parameter will affect the overall size of the pattern, making it suitable for different applications, from small icons to large backgrounds.

height

The height parameter sets the vertical dimension of the pattern, similar to the width parameter. It also ranges from a minimum of 64 to a maximum of 4096 pixels, with a default value of 512 pixels. This parameter, in conjunction with the width, defines the total area covered by the polka dot pattern.

dot_radius

The dot_radius parameter controls the size of each individual dot in the pattern. You can set the radius from 2 to 100 pixels, with a default value of 10 pixels. Larger values will result in bigger dots, which can create a bolder and more pronounced pattern, while smaller values produce more delicate and subtle designs.

spacing

The spacing parameter specifies the distance between the centers of adjacent dots. It ranges from 10 to 200 pixels, with a default value of 40 pixels. This parameter influences the density of the pattern; smaller spacing results in a more compact arrangement of dots, while larger spacing creates a more open and airy design.

background_color

The background_color parameter allows you to set the color of the background on which the polka dots are placed. It accepts color values in hexadecimal format, with a default of #FFFFFF (white). Changing this parameter can dramatically alter the visual impact of the pattern, providing contrast or harmony with the dot color.

dot_color

The dot_color parameter defines the color of the polka dots themselves, also in hexadecimal format. The default color is #000000 (black). By adjusting this parameter, you can create patterns that either stand out or blend in with the background, depending on your artistic intent.

stagger

The stagger parameter is a boolean option that, when enabled, offsets every other row of dots to create a staggered effect. This adds visual interest and complexity to the pattern. The default setting is True, meaning the staggered arrangement is applied unless explicitly disabled.

batch_size

The batch_size parameter determines how many instances of the pattern are generated in one batch. It ranges from 1 to 16, with a default value of 1. This is particularly useful when you need to create multiple variations of the pattern quickly, as it allows for batch processing.

Polka Dot Pattern (Purz) Output Parameters:

image

The image output parameter provides the final rendered polka dot pattern as an image. This output is crucial for integrating the generated pattern into your projects, whether for digital artwork, web design, or print media. The image reflects all the input parameters you've set, ensuring that the pattern meets your specific design requirements.

Polka Dot Pattern (Purz) Usage Tips:

  • Experiment with different dot_radius and spacing values to achieve the desired balance between dot size and pattern density.
  • Use contrasting background_color and dot_color values to make the polka dots stand out more prominently.
  • Enable the stagger option to add a dynamic and less uniform look to your pattern, which can be particularly effective for more artistic or playful designs.

Polka Dot Pattern (Purz) Common Errors and Solutions:

Invalid color format

  • Explanation: This error occurs when the background_color or dot_color is not provided in the correct hexadecimal format.
  • Solution: Ensure that all color values are specified as six-character hexadecimal strings, such as #FFFFFF for white or #000000 for black.

Dimension out of range

  • Explanation: This error arises when the width or height values are set outside the allowed range of 64 to 4096 pixels.
  • Solution: Adjust the width and height parameters to fall within the specified range to ensure proper pattern generation.

Dot radius too large

  • Explanation: This error can occur if the dot_radius is set too large relative to the spacing, causing dots to overlap or exceed the pattern boundaries.
  • Solution: Reduce the dot_radius or increase the spacing to prevent overlap and ensure a clean pattern layout.

Polka Dot 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.