Comparison Nodes
Compare values using operations like equal, greater than, less than, and logical operators.
Compare values using operations like equal, greater than, less than, and logical operators.
This category contains 11 nodes.
Nodes
Gate
On/off switch based on a threshold. Outputs 1 when above, 0 when below. Creates hard cutoffs.
Inputs: Value to test and threshold level.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 0 |
| Threshold | Number | any | 0.5 |
Outputs: 1 if value meets threshold, 0 otherwise.
| Name | Type | Range |
|---|---|---|
| Result | Number | 0 or 1 |
Is Equal
Checks if two numbers are exactly equal.
Inputs: Two values to compare.
| Name | Type | Range | Default |
|---|---|---|---|
| A | Number | any | 0 |
| B | Number | any | 0 |
Outputs: True if equal, false otherwise.
| Name | Type | Range |
|---|---|---|
| Result | Boolean | bool |
Is Greater
Checks if A is larger than B. Optionally includes equal values.
Inputs: Two values and whether to include equals.
| Name | Type | Range | Default |
|---|---|---|---|
| A | Number | any | 0 |
| B | Number | any | 0 |
| Include Equal | Boolean | bool | false |
Outputs: True if A is greater (or equal if enabled).
| Name | Type | Range |
|---|---|---|
| Result | Boolean | bool |
Is Smaller
Checks if A is smaller than B. Optionally includes equal values.
Inputs: Two values and whether to include equals.
| Name | Type | Range | Default |
|---|---|---|---|
| A | Number | any | 0 |
| B | Number | any | 0 |
| Include Equal | Boolean | bool | false |
Outputs: True if A is smaller (or equal if enabled).
| Name | Type | Range |
|---|---|---|
| Result | Boolean | bool |
Max
Returns the larger of two numbers.
Inputs: Two numbers to compare.
| Name | Type | Range | Default |
|---|---|---|---|
| A | Number | any | 0 |
| B | Number | any | 0 |
Outputs: The larger value.
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Maximum Vector
Takes the larger value for each axis. Compares X with X, Y with Y, Z with Z.
Inputs: Two 3D vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector A | Vector | vec | [0, 0, 0] |
| Vector B | Vector | vec | [1, 1, 1] |
Outputs: Vector with the larger value from each axis.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Min
Returns the smaller of two numbers.
Inputs: Two numbers to compare.
| Name | Type | Range | Default |
|---|---|---|---|
| A | Number | any | 0 |
| B | Number | any | 0 |
Outputs: The smaller value.
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Minimum Vector
Takes the smaller value for each axis. Compares X with X, Y with Y, Z with Z.
Inputs: Two 3D vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector A | Vector | vec | [0, 0, 0] |
| Vector B | Vector | vec | [1, 1, 1] |
Outputs: Vector with the smaller value from each axis.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Step
Hard cutoff at a threshold. Returns 0 below the edge, 1 at or above it.
Inputs: Threshold and value to test.
| Name | Type | Range | Default |
|---|---|---|---|
| Edge | Number | any | 0 |
| X | Number | any | 0 |
Outputs: 0 or 1.
| Name | Type | Range |
|---|---|---|
| Number | Number | 0 or 1 |
Step Vector
Hard cutoff for each axis. Returns 0 below the edge, 1 at or above.
Inputs: Edge threshold and value to test.
| Name | Type | Range | Default |
|---|---|---|---|
| Edge | Vector | vec | [0, 0, 0] |
| X | Vector | vec | [0, 0, 0] |
Outputs: Vector with 0 or 1 for each axis.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Threshold
Cuts off values below a threshold. Values above pass through unchanged; values below become zero.
Inputs: Value to filter and threshold cutoff point.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 0 |
| Threshold | Number | any | 0.5 |
Outputs: Original value if above threshold, otherwise 0.
| Name | Type | Range |
|---|---|---|
| Result | Number | any |