Comfy-Org / Comfy-Org/ComfyUI

default math node

Open
#892 2 comments 7 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

I'm asking if it is all possible for a very basic math node to be included in the core comfyui installation.

There are situations where it would be very useful like calculating the base/refiner ratio on the fly and in area conditioning (for size of the latent and position of the conditioning).

I understand there are plugins for that but --apart from being a very basic functionality-- it is sometimes useful to have them integrated in the main config when sharing workflows (especially with new comers).

I did a quick proof of concept here https://github.com/cubiq/ComfyUI_SimpleMath (it goes in `utils/math op`).

![](https://i.imgur.com/LyikJmT.png)

As you can see with just one node you can handle both operations and variables so everything would be extremely contained, but anyway any implementation would be welcome in any form :) thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.