Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate customizable halftone patterns for artistic effects and graphic design projects using varying dot sizes and spacings.
The CR Halftone Grid node is designed to generate halftone patterns, which are a series of dots that vary in size or spacing to simulate different shades of gray or color in an image. This node is particularly useful for creating artistic effects, vintage print styles, or for use in graphic design projects where a halftone effect is desired. By manipulating various parameters, you can control the appearance of the halftone grid, including the dot style, frequency, and background color. This node leverages matplotlib to create the grid and outputs the result as an image tensor, making it easy to integrate into your AI art workflows.
Specifies the width of the output image in pixels. This parameter determines the horizontal size of the halftone grid. The minimum value is 1, and there is no explicit maximum value, but it should be within reasonable limits for your system's memory. The default value is typically set to 1000 pixels.
Specifies the height of the output image in pixels. This parameter determines the vertical size of the halftone grid. The minimum value is 1, and there is no explicit maximum value, but it should be within reasonable limits for your system's memory. The default value is typically set to 1000 pixels.
Defines the color map style used for the dots in the halftone grid. This parameter affects the visual appearance of the dots, allowing you to choose from various predefined styles such as 'viridis', 'plasma', 'inferno', etc. The default value is 'viridis'.
A boolean parameter that determines whether the dot style should be reversed. If set to "Yes", the color map will be inverted, creating a different visual effect. The default value is "No".
Specifies the number of dots per unit area in the halftone grid. This parameter controls the density of the dots, with higher values resulting in more dots and a finer grid. The minimum value is 1, and there is no explicit maximum value, but it should be set according to the desired visual effect. The default value is 10.
Determines the background color of the halftone grid. This can be set to standard color names or a custom color using a hexadecimal code. The default value is 'black'.
Specifies the x-coordinate position for the center of the dot pattern. This parameter allows you to shift the dot pattern horizontally within the image. The default value is 0.5, which centers the pattern.
Specifies the y-coordinate position for the center of the dot pattern. This parameter allows you to shift the dot pattern vertically within the image. The default value is 0.5, which centers the pattern.
A hexadecimal color code for the background color if a custom color is desired. This parameter is used when background_color
is set to "custom". The default value is '#000000' (black).
The output parameter is an image tensor representing the generated halftone grid. This tensor can be used directly in further image processing nodes or saved as an image file. The output image will reflect the specified width, height, dot style, and other input parameters, providing a customizable halftone effect.
A URL string that links to the documentation or help page for the CR Halftone Grid node. This can be used to access additional information, examples, and troubleshooting tips. The default value is "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Pattern-Nodes#cr-halftone-grid".
dot_style
values to achieve various artistic effects and find the one that best suits your project.dot_frequency
parameter to control the density of the halftone pattern; higher frequencies create finer details, while lower frequencies produce a more pronounced dot effect.x_pos
and y_pos
parameters to shift the center of the dot pattern, which can create interesting visual dynamics in your design.background_color
to "custom" and use the bg_color_hex
parameter to define the exact color.dot_style
parameter.dot_style
parameter is set to a valid color map name supported by matplotlib, such as 'viridis', 'plasma', 'inferno', etc.width
and height
parameters result in an image size that exceeds the available memory.width
and height
parameters to create a smaller image that fits within your system's memory limits.bg_color_hex
parameter.bg_color_hex
parameter is set to a valid hexadecimal color code, such as '#FFFFFF' for white or '#000000' for black.© Copyright 2024 RunComfy. All Rights Reserved.