Flood Fill to Gradient
Filters / Effects
Fills each flood-fill region with a linear gradient along a chosen angle. 0 and 1 are truly reached at the extremal foreground pixels of each island (not at the island's bbox corners), so non-rectangular islands use the full [0, 1] range.
Inputs
input
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
angleAngle | float | 0 | 0 to 1 | Gradient direction in turns. 0 = left→right, 0.25 = bottom→top, 0.5 = right→left, 0.75 = top→bottom. |
angle_variationAngle Variation | float | 0 | 0 to 1 | Per-island angle randomness. 0 = every island uses the base angle; 1 = every island gets a uniformly random angle. Per-island seed comes from flood_fill's island hash. |
Outputs
output(default format:r32float)