Nodes/ComfyUI-Field/Field Gradient
ComfyUI Node

Field Gradient

A ComfyUI node in AKURATE/Fields/Generate with 16 inputs and 2 outputs.

By jeremieLouvaert·Created 2 months ago·Updated 4 days ago· 1
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)

NameTypeDefaultDescription
modeCOMBOlinear_uRamp shape
center_xFLOAT0.50-1–2Ramp origin, window fraction (0.5 = frame centre)
center_yFLOAT0.50-1–2Ramp origin, window fraction (0.5 = frame centre)
rotationFLOAT0-360–360Degrees, counter-clockwise. No effect on radial (rotation-invariant)
rampSTRING{"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)
repeatFLOAT1.01–32Tiling repeats across the declared range
mirrorBOOLEANfalseTriangle-fold instead of hard wrap, repeat > 1
phaseFLOAT0.00-2–2Slides the ramp before wrapping
aa_widthFLOAT1.00–4Antialias width, pixels. Active when repeat>1, phase!=0, centre!=default, mode=angular, or the ramp has a value discontinuity interior to the achieved range
distributionCOMBOnativenative: field's own declared range. uniform: probe-grid PIT, exact coverage
coverageFLOAT0.500–1Fraction of frame above midpoint. 0.5 is a no-op
invertBOOLEANfalse—
widthINT51216–8192—
heightINT51216–8192—
reference_imageoptIMAGE—
reference_maskoptMASK—

Outputs (2)

NameTypeDescription
maskMASK—
previewIMAGE—