ComfyUI Node
Field Gradient
A ComfyUI node in AKURATE/Fields/Generate with 16 inputs and 2 outputs.
Field Gradient
- reference_image
- reference_mask
- mask
- preview
◄modelinear_u►
◄center_x0.50►
◄center_y0.50►
◄rotation0►
◄ramp{"version": 1, "stops": [{"p": 0.0, "v": 0.0, "i": "linear"}, {"p": 1.0, "v": 1.0, "i": "linear"}]}►
◄repeat1.0►
◄mirrorfalse►
◄phase0.00►
◄aa_width1.0►
◄distributionnative►
◄coverage0.50►
◄invertfalse►
◄width512►
◄height512►
CategoryAKURATE/Fields/Generate
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | linear_u | Ramp shape |
| center_x | FLOAT | 0.50-1–2 | Ramp origin, window fraction (0.5 = frame centre) |
| center_y | FLOAT | 0.50-1–2 | Ramp origin, window fraction (0.5 = frame centre) |
| rotation | FLOAT | 0-360–360 | Degrees, counter-clockwise. No effect on radial (rotation-invariant) |
| ramp | STRING | {"version": 1, "stops": [{"p": 0.0, "v": 0.0, "i": "linear"}, {"p": 1.0, "v": 1.0, "i": "linear"}]} | Stops ramp: {"version":1,"stops":[{"p":,"v":,"i":}]}, i in constant/linear/smooth. Edit via the canvas widget or paste JSON directly (docs/field-phase2c-derivation.md 2.5) |
| repeat | FLOAT | 1.01–32 | Tiling repeats across the declared range |
| mirror | BOOLEAN | false | Triangle-fold instead of hard wrap, repeat > 1 |
| phase | FLOAT | 0.00-2–2 | Slides the ramp before wrapping |
| aa_width | FLOAT | 1.00–4 | Antialias width, pixels. Active when repeat>1, phase!=0, centre!=default, mode=angular, or the ramp has a value discontinuity interior to the achieved range |
| distribution | COMBO | native | native: field's own declared range. uniform: probe-grid PIT, exact coverage |
| coverage | FLOAT | 0.500–1 | Fraction of frame above midpoint. 0.5 is a no-op |
| invert | BOOLEAN | false | — |
| width | INT | 51216–8192 | — |
| height | INT | 51216–8192 | — |
| reference_imageopt | IMAGE | — | |
| reference_maskopt | MASK | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| preview | IMAGE | — |