← See All Custom Node Packs

ComfyUI_essentials

1125

Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

SimpleMathPercent+

Documentation: SimpleMathPercent+ Node

Overview

The SimpleMathPercent+ node is part of the ComfyUI Essentials repository, which provides important utilities and features not available in the core ComfyUI. This node is specifically designed to facilitate percentage-based calculations or manipulations in a ComfyUI workflow, making it simpler to handle values normalized between 0 and 1.

Functionality

The node performs the main function of ensuring a given floating-point value is within the range of 0 to 1, allowing users to work with percentage representations easily. It is often used when normalized inputs are required for certain operations or settings.

Inputs

  • Value:
    • Type: Float
    • Description: The input value that represents a percentage. It is expected to be within a range of 0 to 1, where 0 represents 0% and 1 represents 100%.
    • Constraints: Default value is 0.0, with a minimum of 0 and a maximum of 1. Users can adjust the increment in steps of 0.05.

Outputs

  • Result:
    • Type: Float
    • Description: The output is the normalized floating-point value passed through the node. This value will be within the 0 to 1 range as given by the input.

Usage

This node can be directly integrated into ComfyUI workflows where operations involve or require percentage values. It acts as an intermediary step to process and ensure that floating-point values are suitable for percentage manipulations, which is particularly useful in tasks involving mixing, blending, or applying effects proportionally.

Example Use Cases

  • Blending Operations: Useful in image processing tasks where blending two images or effects requires a mix ratio expressed as a percentage.
  • Parameter Scaling: When adjusting parameters that operate on a relative scale, such as opacity or transparency settings.
  • Normalization Tasks: Ideal in scenarios where input values need to be scaled down to a unit range for further processing.

Considerations

  • Range Enforcement: The node enforces the input value to stay within the 0 to 1 range. Thus, it prevents any input value outside this range from being processed erroneously.
  • Integration: As part of the ComfyUI Essentials, this node should be used in conjunction with other nodes from this repository or the ComfyUI core to build complex workflows efficiently.
  • Maintenance Status: According to the repository's README, the project is currently in maintenance-only mode, so new features may not be added, but crucial updates or requests might still be considered.

For more information and updates regarding this node, please visit the ComfyUI Essentials GitHub repository.