Visit ComfyUI Online for ready-to-use ComfyUI environment
Transform images with Voronoi diagram effect for artistic, geometric patterns and customization.
The VoronoiNode is a powerful tool designed to transform images by applying a Voronoi diagram effect, which is a method of partitioning a plane into regions based on the distance to a specific set of points, known as seeds. This node is particularly useful for creating artistic and geometric effects in images, giving them a unique, tessellated appearance. By leveraging the Voronoi diagram, the node can generate visually striking patterns that can enhance the aesthetic appeal of your artwork. The main goal of the VoronoiNode is to provide a flexible and creative way to manipulate images, allowing you to customize the number of seeds, color modes, and outlines to achieve the desired visual effect. This node is essential for artists looking to add a geometric touch to their images, offering a blend of creativity and mathematical precision.
The image
parameter is the input image that you want to transform using the Voronoi diagram effect. It should be provided as a tensor, and the node will process this image to apply the desired effect. The image serves as the canvas on which the Voronoi pattern will be overlaid.
The num_seeds
parameter determines the number of seed points used to generate the Voronoi diagram. These seeds are the basis for the partitioning of the image into different regions. A higher number of seeds will result in smaller, more numerous regions, while a lower number will create larger, less frequent regions. This parameter allows you to control the granularity of the Voronoi effect.
The color_mode
parameter specifies how the colors are applied to the Voronoi regions. Different color modes can produce varying visual effects, allowing you to experiment with the appearance of the final image. This parameter is crucial for achieving the desired color scheme in your artwork.
The cell_outline
parameter is a boolean that determines whether or not to draw outlines around the Voronoi cells. Enabling this option will add a border to each cell, enhancing the geometric appearance of the image. This can be useful for emphasizing the structure of the Voronoi pattern.
The seed_distribution
parameter controls how the seeds are distributed across the image. The default option is "random," which scatters seeds randomly, but other distribution methods can be used to achieve different effects. This parameter affects the overall layout and uniformity of the Voronoi regions.
The outline_color
parameter specifies the color of the outlines drawn around the Voronoi cells. This allows you to customize the appearance of the cell borders, making them stand out or blend in with the rest of the image, depending on your artistic vision.
The outline_thickness
parameter defines the thickness of the outlines around the Voronoi cells. A thicker outline can make the cell borders more prominent, while a thinner outline can create a more subtle effect. This parameter helps you fine-tune the visual impact of the cell outlines.
The edge_threshold
parameter is used during seed generation to determine the sensitivity to edges in the image. A lower threshold will result in more seeds being placed near edges, while a higher threshold will distribute seeds more evenly. This parameter is important for controlling the interaction between the Voronoi pattern and the underlying image features.
The result_tensor
is the output of the VoronoiNode, representing the transformed image with the applied Voronoi diagram effect. This tensor contains the final visual result, which can be further processed or saved as an image. The output showcases the unique geometric pattern created by the Voronoi algorithm, providing a distinctive artistic touch to your original image.
num_seeds
values to find the right balance between detail and simplicity in your Voronoi pattern.color_mode
parameter to explore various color schemes and enhance the visual appeal of your image.outline_thickness
and outline_color
to emphasize or de-emphasize the cell borders, depending on your artistic goals.seed_distribution
parameter is set to a valid option, such as "random," and correct any typos.outline_color
parameter is set to a color that is not supported.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.