Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate dynamic Voronoi masks for artistic patterns with customizable parameters.
The CreateVoronoiMask
node is designed to generate Voronoi masks, which are useful for creating intricate and visually appealing patterns based on Voronoi diagrams. This node allows you to create a series of frames where each frame contains a Voronoi diagram with points that interpolate over time, creating a dynamic and evolving pattern. The primary benefit of this node is its ability to produce complex, organic-looking masks that can be used in various artistic applications, such as texture generation, procedural art, and more. By adjusting parameters like the number of points, line width, and animation speed, you can customize the appearance and behavior of the Voronoi masks to suit your creative needs.
This parameter specifies the number of frames to generate in the batch. It determines the total number of images that will be created, each containing a Voronoi diagram. The more frames you generate, the smoother the transition between points will be. The minimum value is 1, and there is no explicit maximum value, but higher values will require more computational resources.
This parameter defines the number of points used to generate the Voronoi diagram. More points will result in a more complex and detailed pattern, while fewer points will create a simpler diagram. The minimum value is 1, and there is no explicit maximum value, but very high values may impact performance.
This parameter controls the width of the lines used to draw the Voronoi ridges. A larger line width will make the lines more prominent, while a smaller line width will create finer lines. The minimum value is 1, and there is no explicit maximum value, but extremely large values may obscure the pattern.
This parameter determines the speed at which the points interpolate between their start and end positions over the frames. A higher speed will result in faster movement, while a lower speed will create a slower, more gradual transition. The value should be normalized between 0 and 1.
This parameter sets the width of each frame in pixels. It defines the horizontal resolution of the generated images. The minimum value is 16, and the maximum value is 4096, with a default value of 512.
This parameter sets the height of each frame in pixels. It defines the vertical resolution of the generated images. The minimum value is 16, and the maximum value is 4096, with a default value of 512.
This output parameter provides the generated Voronoi mask as a tensor. The mask is a grayscale image where the Voronoi ridges are represented by lines, and the regions between the lines are filled with white. This mask can be used in various artistic applications, such as texture generation or as a base for further image processing.
This output parameter provides the inverted version of the generated Voronoi mask. In the inverted mask, the Voronoi ridges are represented by white lines, and the regions between the lines are filled with black. This can be useful for different artistic effects or as an alternative representation of the Voronoi pattern.
num_points
to achieve varying levels of complexity in your Voronoi patterns. Fewer points will create simpler diagrams, while more points will result in intricate patterns.line_width
parameter to control the prominence of the Voronoi ridges. Thicker lines can create bold, striking patterns, while thinner lines can produce delicate, detailed designs.speed
parameter to control the animation of the points. A slower speed can create smooth, gradual transitions, while a faster speed can result in dynamic, rapidly changing patterns.frame_width
or frame_height
parameters are set to values outside the allowed range (16 to 4096).frame_width
and frame_height
are within the valid range and try again.frame_width
, or frame_height
to lower the memory requirements and try again.num_points
parameter is set to a value less than 1.num_points
is set to a value of 1 or higher and try again.© Copyright 2024 RunComfy. All Rights Reserved.