forked from evanspearman/ComfyMath
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode_list.json
More file actions
66 lines (66 loc) · 6.28 KB
/
Copy pathnode_list.json
File metadata and controls
66 lines (66 loc) · 6.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"CM_BoolToInt": "Converts a boolean value to 0 or 1.",
"CM_IntToBool": "Converts zero to false and any non-zero integer to true.",
"CM_FloatToInt": "Converts a float to an integer using Python truncation.",
"CM_IntToFloat": "Converts an integer to a float.",
"CM_IntToNumber": "Passes an integer as a generic number value.",
"CM_NumberToInt": "Converts a generic number to an integer using Python truncation.",
"CM_FloatToNumber": "Passes a float as a generic number value.",
"CM_NumberToFloat": "Converts a generic number to a float.",
"CM_ComposeVec2": "Builds a 2D vector from x and y float components.",
"CM_ComposeVec3": "Builds a 3D vector from x, y, and z float components.",
"CM_ComposeVec4": "Builds a 4D vector from x, y, z, and w float components.",
"CM_BreakoutVec2": "Splits a 2D vector into its float components.",
"CM_BreakoutVec3": "Splits a 3D vector into its float components.",
"CM_BreakoutVec4": "Splits a 4D vector into its float components.",
"CM_BoolUnaryOperation": "Applies a unary boolean operation such as Not.",
"CM_BoolBinaryOperation": "Applies a binary boolean operation such as And, Or, Xor, equality, or negated variants.",
"CM_IntUnaryOperation": "Applies a unary integer operation such as absolute value, negation, increment, square, cube, bitwise Not, or factorial.",
"CM_IntUnaryCondition": "Tests one integer for zero, sign, or parity conditions.",
"CM_IntBinaryOperation": "Applies a binary integer operation such as arithmetic, bitwise logic, shifts, maximum, or minimum.",
"CM_IntBinaryCondition": "Compares two integers with equality or ordering conditions.",
"CM_IntRandomNumber": "Returns a fixed, incremented, decremented, or randomized integer within a selected range constraint or custom limits.",
"CM_IntUnaryOperationConditional": "Conditionally applies a unary integer operation, otherwise returning the input or a fallback value.",
"CM_IntBinaryOperationConditional": "Conditionally applies a binary integer operation, otherwise returning one input or a fallback value.",
"CM_FloatUnaryOperation": "Applies a unary float operation such as arithmetic, logarithmic, trigonometric, rounding, or gamma functions.",
"CM_FloatUnaryCondition": "Tests one float for zero, sign, finiteness, infinity, NaN, or parity conditions.",
"CM_FloatBinaryOperation": "Applies a binary float operation such as arithmetic, power, logarithm, atan2, maximum, or minimum.",
"CM_FloatBinaryCondition": "Compares two floats with equality or ordering conditions.",
"CM_FloatUnaryOperationConditional": "Conditionally applies a unary float operation, otherwise returning the input or a fallback value.",
"CM_FloatBinaryOperationConditional": "Conditionally applies a binary float operation, otherwise returning one input or a fallback value.",
"CM_NumberUnaryOperation": "Applies a float-style unary operation to a generic number.",
"CM_NumberUnaryCondition": "Tests a generic number with float-style unary conditions.",
"CM_NumberBinaryOperation": "Applies a float-style binary operation to two generic numbers.",
"CM_NumberBinaryCondition": "Compares two generic numbers with float-style binary conditions.",
"CM_NumberUnaryOperationConditional": "Conditionally applies a unary generic number operation, otherwise returning the input or a fallback value.",
"CM_NumberBinaryOperationConditional": "Conditionally applies a binary generic number operation, otherwise returning one input or a fallback value.",
"CM_Vec2UnaryOperation": "Applies a unary operation such as negation or normalization to a 2D vector.",
"CM_Vec2UnaryCondition": "Tests a 2D vector for zero or normalized state.",
"CM_Vec2ToScalarUnaryOperation": "Converts one 2D vector to a scalar, such as its norm.",
"CM_Vec2BinaryOperation": "Applies a binary operation such as addition, subtraction, or cross product to two 2D vectors.",
"CM_Vec2BinaryCondition": "Compares two 2D vectors for approximate equality or inequality.",
"CM_Vec2ToScalarBinaryOperation": "Converts two 2D vectors to a scalar, such as dot product or distance.",
"CM_Vec2ScalarOperation": "Multiplies or divides a 2D vector by a scalar.",
"CM_Vec3UnaryOperation": "Applies a unary operation such as negation or normalization to a 3D vector.",
"CM_Vec3UnaryCondition": "Tests a 3D vector for zero or normalized state.",
"CM_Vec3ToScalarUnaryOperation": "Converts one 3D vector to a scalar, such as its norm.",
"CM_Vec3BinaryOperation": "Applies a binary operation such as addition, subtraction, or cross product to two 3D vectors.",
"CM_Vec3BinaryCondition": "Compares two 3D vectors for approximate equality or inequality.",
"CM_Vec3ToScalarBinaryOperation": "Converts two 3D vectors to a scalar, such as dot product or distance.",
"CM_Vec3ScalarOperation": "Multiplies or divides a 3D vector by a scalar.",
"CM_Vec4UnaryOperation": "Applies a unary operation such as negation or normalization to a 4D vector.",
"CM_Vec4UnaryCondition": "Tests a 4D vector for zero or normalized state.",
"CM_Vec4ToScalarUnaryOperation": "Converts one 4D vector to a scalar, such as its norm.",
"CM_Vec4BinaryOperation": "Applies a binary operation such as addition, subtraction, or cross product to two 4D vectors.",
"CM_Vec4BinaryCondition": "Compares two 4D vectors for approximate equality or inequality.",
"CM_Vec4ToScalarBinaryOperation": "Converts two 4D vectors to a scalar, such as dot product or distance.",
"CM_Vec4ScalarOperation": "Multiplies or divides a 4D vector by a scalar.",
"CM_ChooseInt": "Returns one of two integer inputs based on a boolean condition.",
"CM_ChooseFloat": "Returns one of two float inputs based on a boolean condition.",
"CM_SDXLResolution": "Selects a standard SDXL resolution preset and returns its width and height.",
"CM_NearestSDXLResolution": "Returns the standard SDXL resolution preset nearest to an input image aspect ratio.",
"CM_SDXLExtendedResolution": "Selects an extended SDXL resolution preset and returns its width and height.",
"CM_NearestSDXLExtendedResolution": "Returns the extended SDXL resolution preset nearest to an input image aspect ratio.",
"CM_AspectRatioResolution": "Calculates width and height from an aspect ratio, target megapixels, and pixel multiple.",
"CM_ImageAspectResolution": "Calculates width and height from an input image aspect ratio, target megapixels, and pixel multiple."
}