Fold Node
Fold iteratively applies the absolute value function to the input field, effectively folding negative values to their positive counterparts.

Category
Filter/Recast
Inputs
| Name | Type | Description |
|---|---|---|
| input | VirtualArray | Input heightmap. |
Outputs
| Name | Type | Description |
|---|---|---|
| output | VirtualArray | Folded heightmap. |
Parameters
| Name | Type | Description |
|---|---|---|
| iterations | Integer | Number of successive foldings. |
| k | Float | Smoothing parameter of the smooth absolute value. |
Example
No example yet
No example available for this node.