From e9da223e6ac069e4e0ee1934fc3ad3bab4605660 Mon Sep 17 00:00:00 2001 From: mcDandy Date: Mon, 28 Jul 2025 00:39:50 +0200 Subject: [PATCH] added usable constants --- src/more_math/ConditioningMathNode.py | 2 +- src/more_math/LatentMathNode.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/more_math/ConditioningMathNode.py b/src/more_math/ConditioningMathNode.py index 46156a4..46c8f02 100644 --- a/src/more_math/ConditioningMathNode.py +++ b/src/more_math/ConditioningMathNode.py @@ -14,7 +14,7 @@ class ConditioningMathNode: w, x, y, z: Floats, bound to variables of the expression. Defaults to 0.0 if not provided. Tensor expression: - String, describing expression to mix tensor part of conditioning. Tensor probably describes the composition of the image as it has the say what is on the image. Valid functions are sin, cos, tan, abs, sqrt, min, max, norm. Valid operators are +, -, *, /, ^, %. + String, describing expression to mix tensor part of conditioning. Tensor probably describes the composition of the image as it has the say what is on the image. Valid functions are sin, cos, tan, abs, sqrt, min, max, norm. Valid operators are +, -, *, /, ^, %. Usable constants are e and pi. Pooled output expression: String, describing expression to mix pooled_output part of conditioning. pooled_output does not have that much say in the image but can change some details of the image or completly change the image in some cases, probably also used for positional and temporal conditioning. Expression uses same syntax as Tensor expression. diff --git a/src/more_math/LatentMathNode.py b/src/more_math/LatentMathNode.py index 332030b..3b1e765 100644 --- a/src/more_math/LatentMathNode.py +++ b/src/more_math/LatentMathNode.py @@ -16,7 +16,7 @@ class LatentMathNode: w, x, y, z: Floats, bound to variables of the expression. Defaults to 0.0 if not provided. Tensor expression: - String, describing expression to mix latents. Valid functions are sin, cos, tan, abs, sqrt, min, max, norm. Valid operators are +, -, *, /, ^, %. + String, describing expression to mix latents. Valid functions are sin, cos, tan, abs, sqrt, min, max, norm. Valid operators are +, -, *, /, ^, %. Usable constants are e and pi. OUTPUTS: LATENT: