CozyGen Float Input:
The CozyGenFloatInput node is designed to facilitate the input of floating-point numbers within the CozyGen framework. This node is particularly useful when you need to specify parameters that require decimal precision, such as scaling factors, thresholds, or any other numerical values that benefit from fine-tuning. By providing a structured way to input float values, this node enhances the flexibility and precision of your AI art projects, allowing for more nuanced control over the parameters that influence the output. The node is equipped with features that allow you to define default values, set boundaries with minimum and maximum limits, and specify the increment steps for adjustments, making it a versatile tool for artists who need precise control over their creative parameters.
CozyGen Float Input Input Parameters:
param_name
This parameter allows you to specify a name for the float input parameter. It serves as an identifier for the parameter within your project, making it easier to manage and reference. The default value is "Float Parameter".
priority
This integer parameter determines the priority level of the float input. It can be used to influence the order or importance of this parameter relative to others in your project. The default value is 10.
default_value
This is the initial value assigned to the float input when the node is first used. It provides a starting point for adjustments and can be set to any float value within the specified range. The default value is 1.0.
min_value
This parameter sets the minimum allowable value for the float input, ensuring that the input does not go below this threshold. It helps maintain the integrity of the input by preventing unrealistic or undesirable values. The default minimum value is 0.0.
max_value
This parameter defines the maximum allowable value for the float input, preventing the input from exceeding this limit. It is useful for maintaining control over the input range and ensuring that values remain within a practical scope. The default maximum value is 1024.0.
step
This parameter specifies the increment step for adjusting the float input value. It determines how much the value changes with each adjustment, allowing for precise control over the input. The default step value is 0.1.
add_randomize_toggle
This boolean parameter allows you to add a toggle option for randomizing the float input value. When enabled, it introduces an element of randomness to the input, which can be useful for experimentation or creative exploration. The default value is False.
CozyGen Float Input Output Parameters:
FLOAT
The output of the CozyGenFloatInput node is a floating-point number that reflects the current value of the input parameter. This output can be used in various parts of your project where a float value is required, providing a flexible and precise numerical input that can influence the behavior or characteristics of other nodes or processes.
CozyGen Float Input Usage Tips:
- Utilize the
min_valueandmax_valueparameters to constrain the input range, ensuring that the values remain within a practical and meaningful scope for your project. - Use the
stepparameter to fine-tune the precision of adjustments, allowing for more granular control over the float input and enabling precise parameter tuning. - Consider enabling the
add_randomize_togglefor creative experimentation, as it can introduce variability and unexpected results that may inspire new artistic directions.
CozyGen Float Input Common Errors and Solutions:
ValueError: Input value out of range
- Explanation: This error occurs when the input value exceeds the specified
min_valueormax_valuelimits. - Solution: Ensure that the input value is within the defined range by adjusting the
min_valueandmax_valueparameters accordingly.
TypeError: Invalid input type
- Explanation: This error is raised when the input provided is not a float, which is the expected type for this node.
- Solution: Verify that the input value is a floating-point number and adjust the input type if necessary.
