ComfyUI  >  Nodes  >  ComfyUI_Mira >  Random Tilling Layouts

ComfyUI Node: Random Tilling Layouts

Class Name

RandomTillingLayouts

Category
Mira/Util
Author
mirabarukaso (Account age: 1261 days)
Extension
ComfyUI_Mira
Latest Updated
7/25/2024
Github Stars
0.0K

How to Install ComfyUI_Mira

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

Run ComfyUI Online

Random Tilling Layouts Description

Generate unique tiling layouts with random patterns for AI art projects.

Random Tilling Layouts:

The RandomTillingLayouts node is designed to generate random tiling layouts for your AI art projects. This node allows you to create complex and varied patterns by specifying ranges for rows and columns, as well as weights for different cuts. By leveraging randomization, it ensures that each generated layout is unique, adding an element of unpredictability and creativity to your designs. The primary goal of this node is to provide a flexible and dynamic way to create intricate tiling patterns that can be used in various artistic applications, enhancing the visual complexity and appeal of your work.

Random Tilling Layouts Input Parameters:

min_rows

This parameter defines the minimum number of rows that the generated layout can have. It ensures that the layout will have at least this many rows, providing a lower bound for the vertical complexity of the pattern. The value should be a non-negative integer.

max_rows

This parameter sets the maximum number of rows that the generated layout can have. It acts as an upper bound for the vertical complexity, ensuring that the layout does not exceed this number of rows. The value should be a non-negative integer and should be greater than or equal to min_rows.

min_colums

This parameter specifies the minimum number of columns that the generated layout can have. It ensures that the layout will have at least this many columns, providing a lower bound for the horizontal complexity of the pattern. The value should be a non-negative integer.

max_colums

This parameter sets the maximum number of columns that the generated layout can have. It acts as an upper bound for the horizontal complexity, ensuring that the layout does not exceed this number of columns. The value should be a non-negative integer and should be greater than or equal to min_colums.

max_weights_gcuts

This parameter defines the maximum weight for the global cuts in the layout. The weight influences the distribution and size of the cuts, with higher values leading to more significant variations. The value should be a positive number.

max_weights_ncuts

This parameter specifies the maximum weight for the nested cuts in the layout. Similar to max_weights_gcuts, this weight affects the distribution and size of the nested cuts, adding another layer of complexity to the pattern. The value should be a positive number.

rnd_seed

This parameter sets the seed for the random number generator used in creating the layout. By providing a specific seed, you can ensure that the same layout is generated consistently, which is useful for reproducibility. The value should be an integer.

Random Tilling Layouts Output Parameters:

layout

The layout output is a string that represents the generated tiling pattern. This string encodes the structure of the layout, including the number of rows and columns, as well as the weights of the cuts. It can be used as input for other nodes or processes that require a tiling layout.

Random Tilling Layouts Usage Tips:

  • To create more intricate and varied patterns, experiment with different ranges for min_rows, max_rows, min_colums, and max_colums. Larger ranges will generally result in more complex layouts.
  • Use the rnd_seed parameter to generate reproducible layouts. This is particularly useful if you want to recreate a specific pattern or share it with others.
  • Adjust the max_weights_gcuts and max_weights_ncuts parameters to control the distribution and size of the cuts. Higher weights will lead to more pronounced variations in the pattern.

Random Tilling Layouts Common Errors and Solutions:

"min_colums cannot be greater than max_colums"

  • Explanation: This error occurs when the min_colums parameter is set to a value greater than max_colums.
  • Solution: Ensure that min_colums is less than or equal to max_colums.

"min_rows cannot be greater than max_rows"

  • Explanation: This error occurs when the min_rows parameter is set to a value greater than max_rows.
  • Solution: Ensure that min_rows is less than or equal to max_rows.

"max_colums and max_rows cannot both be zero"

  • Explanation: This error occurs when both max_colums and max_rows are set to zero, which would result in an invalid layout.
  • Solution: Set at least one of max_colums or max_rows to a non-zero value.

"Invalid rnd_seed value"

  • Explanation: This error occurs when the rnd_seed parameter is not set to a valid integer.
  • Solution: Ensure that rnd_seed is an integer value.

Random Tilling Layouts Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Mira
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.