View Code? Open in Web Editor
NEW
This project forked from derfuu/derfuu_comfyui_moddednodes
derfuu_comfyui_moddednodes's Introduction
Derfuu_ComfyUI_ModdedNodes
- Automate calculation depending on image sizes or something you want
- easier(or not) editing multiple values of various nodes
- Math
- Modded scalers
![workflow_preview](https://user-images.githubusercontent.com/54149748/228344751-616b0198-3855-4212-98a1-0fe5004dfa01.png)
- Variables:
- Float - mainly used to calculation
- Integer - used to set width/height and offsets mainly, also provides converting of float values
- Text - input field for text
- Text box - same, but multiline
- Debug nodes: prints values in console
- DebugFloat
- DebugInt
- DebugText
- DebugTuple
- Functional:
- Random - gives random value within threshold
- Get image size - return image size like: Width, Height and (Width, Height) in one value as tuple
- Get latent size - return latent size like: Width, Height and (Width, Height) in one value as tuple
- NOTE: Original values are 8 times smaller
- Converters: converts one type to another
- Int to float
- Ceil - rounding up float value ex: 1.01 --> 2
- Floor - rounding down float value ex: 1.99 --> 1
- Absolute - return only positive (or negative) value on your choice (default - positive)
- Tuples (dead fetch?)
- Maths
- sum - (A + B)
- subtract - (A - B)
- multiply (A * B)
- divide - (A / B)
- power - (A * A * A...) B times
- square root - (โA)
- Modded:
- Conditioning
- Condition area scale - multiplies size of condion area
- Latents
- Latent scale by ratio - multiplies size of latent
- Latent scale to size - scale size of latent to length of selected side
- Image
- Image scale by ratio - multiplies size of latent
- Image scale to size - scale size of image to length of selected side
derfuu_comfyui_moddednodes's People
Contributors