Files
cerspense-ComfyUI_cspnodes/README.md
T
2024-07-28 22:19:37 -07:00

1.4 KiB

cspnodes

A ComfyUI node pack by cerspense

This package contains a collection of custom nodes for ComfyUI, designed to enhance your workflow with additional functionalities. Below is a detailed description of each node and its parameters.

Table of Contents

  1. TextFileLineIterator
  2. ImageDirIterator
  3. VidDirIterator
  4. Modelscopet2v
  5. Modelscopev2v
  6. SplitImageChannels
  7. RemapRange
  8. ResizeByImage
  9. IncrementEveryN

...

[Previous content remains unchanged]

...

IncrementEveryN

This node takes an input integer and outputs a new integer that increments every N steps of the input.

Parameters:

  • input_value (INT, default: 0, min: 0): The input integer value that is incrementing.
  • step_size (INT, default: 1, min: 1): The number of steps in the input required to increment the output by 1.

Output:

  • (INT): The incrementing output value.

Behavior:

This node divides the input value by the step size and returns the integer result. For example:

  • If step_size is 6:
    • Input values 0-5 will output 0
    • Input values 6-11 will output 1
    • Input values 12-17 will output 2
    • And so on...

This node is useful for creating slower-changing values from rapidly incrementing inputs, which can be helpful in various animation and procedural generation scenarios.