Is there any way to do basic maths or conditional loops? #853
Replies: 4 comments 26 replies
-
Perhaps this will help? https://github.com/pythongosssss/ComfyUI-Custom-Scripts/blob/main/py/math_expression.py |
Beta Was this translation helpful? Give feedback.
-
I ended up doing a lot of custom nodes in the end, including a way to save conditioning which can be then use as some sort of text embedding, also two clip interrogator nodes :) |
Beta Was this translation helpful? Give feedback.
-
https://github.com/ltdrdata/ComfyUI-Manager This is the ComfyUI-Manager. |
Beta Was this translation helpful? Give feedback.
-
This depends on the developer of the node. They can choose to provide useful nodes and miscellaneous nodes separately in a separate pack, or they can offer options in the configuration to enable or disable certain functionalities. In my case, I provide three separate extensions based on the nature of the nodes. Users can receive the specific set of nodes/extension they desire. On the other hand, for legacy nodes with messy dependencies, I offer them in a disabled state, and provide users with a configuration option to selectively enable them if they choose to. You can choose how you want to provide it to the users, depending on your preference. However, I would suggest offering it in a form that can be easily installed using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Like loop for X times in the k-sampler while changing the seed every time, or have a node that would perform simple maths? Or a router that would route somewhere if condition else somewhere else? These feats would be more than interesting but I'm not finding them.
Beta Was this translation helpful? Give feedback.
All reactions