From ffef50bef76cf4ddf6a45e68282fd04786f6cf27 Mon Sep 17 00:00:00 2001 From: mcDandy Date: Mon, 28 Jul 2025 18:55:51 +0200 Subject: [PATCH] Fix description --- src/more_math/ConditioningMathNode.py | 4 ++-- src/more_math/ImageMathNode.py | 2 +- src/more_math/LatentMathNode.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/more_math/ConditioningMathNode.py b/src/more_math/ConditioningMathNode.py index b8d2f84..7fdffd8 100644 --- a/src/more_math/ConditioningMathNode.py +++ b/src/more_math/ConditioningMathNode.py @@ -41,12 +41,12 @@ class ConditioningMathNode: "Tensor": ("STRING", { "multiline": False, #True if you want the field to look like the one on the ClipTextEncode node "default": "a*(1-w)+b*w", - "description": "Describes composition of the image. Valid functions are sin,cos,tan,abs,sqrt,min,max. Valid operators are +,-,*,/,^,%" + "description": "Describes composition of the image. Valid functions are sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, abs, sqrt, ln, log, exp, pow, min, max, norm, floor, ceil, round, gamma. Valid operators are +, -, *, /, %, ^,!˛&,|. Usable constants are e and pi." }), "pooled_output": ("STRING", { "multiline": False, #True if you want the field to look like the one on the ClipTextEncode node - "default": "a*w+b*(1-w)", + "default": "a*(1-w)+b*w", "description": "Can change some details of the image, probably also used for positional and temporal conditioning." }), }, diff --git a/src/more_math/ImageMathNode.py b/src/more_math/ImageMathNode.py index 5ad9ba9..83d5e26 100644 --- a/src/more_math/ImageMathNode.py +++ b/src/more_math/ImageMathNode.py @@ -18,7 +18,7 @@ class ImageMathNode: w, x, y, z: Floats, bound to variables of the expression. Defaults to 0.0 if not provided. Image expression: - String, describing expression to mix images. Valid functions are sin, cos, tan, abs, sqrt, min, max, norm. Valid operators are +, -, *, /, ^, %. Usable constants are e and pi. + String, describing expression to mix images. Valid functions are sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, abs, sqrt, ln, log, exp, pow, min, max, norm, floor, ceil, round, gamma. Valid operators are +, -, *, /, %, ^,!˛&,|. Usable constants are e and pi. OUTPUTS: LATENT: diff --git a/src/more_math/LatentMathNode.py b/src/more_math/LatentMathNode.py index f3b5f1c..fa82fb4 100644 --- a/src/more_math/LatentMathNode.py +++ b/src/more_math/LatentMathNode.py @@ -39,7 +39,7 @@ class LatentMathNode: "Latent": ("STRING", { "multiline": False, #True if you want the field to look like the one on the ClipTextEncode node "default": "a*(1-w)+b*w", - "description": "Describes composition of the image. Valid functions are sin,cos,tan,abs,sqrt,min,max. Valid operators are +,-,*,/,^,%" + "description": "Describes composition of the image. Valid functions are sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, abs, sqrt, ln, log, exp, pow, min, max, norm, floor, ceil, round, gamma. Valid operators are +, -, *, /, %, ^,!˛&,|. Usable constants are e and pi." }), },