Generator node new in 3.2

Vector Field 2D

A 2D vector field made from a picture: its silhouette and brightness become motion in one of sixteen styles — outline flow, contour bands, sweeps, zig-zags, vortices, curl noise, brush strokes along the picture's features, ripples and more. Cable Field into a Flow Map to move a texture along it, into a Particle Vector Field 2D (through the Particle System) to steer particles — one field can drive both. Region picks inside, outside or everywhere; with no picture, use Everywhere. Speed is the field's own clock for Drift and noise. Image shows the field: Color Wheel (hue = direction, opacity = strength) or Raw RG.

Inputs

PortTypeDefault
EnableOff: no field — whatever reads it stands still, and the Image is cleared.booltrue
ImageThe picture the field is read from: a segmentation mask, any photo, live video, a generator. Without one, choose Region Everywhere.image—
ModeWhich of the sixteen field patterns shapes the motion — outline flow, contour bands, vortices, curl noise, brush strokes and the rest. Out-of-range values snap to the nearest one.int7
SpeedThe field’s own clock for Drift and noise. Not clamped; 0 freezes it without snapping, negative values run it backwards.float1
ChannelWhich channel of the mask is read as the shape — Alpha, Red, Green, Blue or Luminance. Alpha suits segmentation masks, Luminance suits photos.int0
ThresholdThe level that separates shape from background in the chosen channel. Clamped to 0.0001…1; low values catch faint edges, high values only solid areas.float0.05
InvertSwaps what counts as inside and outside the shape.boolfalse
RegionWhere the motion is allowed: Inside the shape, Outside it, or Everywhere. Values outside the three snap to the nearest.int0
FeatherSoftens the boundary between the moving region and the still one, in Grafit units. At least 0; around 0.05…0.3 hides the hard edge.float0.1
Image PowerLets the mask's brightness scale how strongly each spot moves — dark areas stay put. Clamped to 0…1, where 0 ignores brightness entirely.float0
AngleBase direction of the pattern, in degrees clockwise. Any value works; it simply wraps around.float0
FrequencyHow many bands, waves or ripples fit across the view. At least 0.01; 2…20 covers broad sweeps to fine corduroy.float6
DriftHow fast the pattern itself slides along, on top of the picture motion. Not clamped; negative drifts the other way, 0 holds it still.float0
SwirlBends the field sideways, turning straight or radial flow into spirals. Not clamped; ±1 is already a full quarter-turn twist.float0
Center XHorizontal centre for radial, vortex and ripple patterns, in Grafit units. Any value works, even off screen.float0
Center YVertical centre for radial, vortex and ripple patterns, in Grafit units. Any value works, even off screen.float0
Noise AmountHow much wandering noise is stirred into the field. At least 0; around 0.3…1 breaks up mechanical-looking flow.float0
Noise ScaleSize of the noise cells — small numbers make broad rolling motion, big numbers a fine boil. At least 0.01.float3
Noise SpeedHow fast the noise evolves. Not clamped; 0 freezes the noise pattern and negative values reverse it.float0.3
ResolutionDetail of the motion grid along its long edge. Clamped to 64…1024; 256 is plenty, high values only pay off on very fine masks.int256
StyleHow the Image shows the field: Color Wheel paints direction as hue and strength as opacity; Raw RG packs the vectors around mid-grey for another node to read.int0
GainBrightens weak parts of the field in the Image so they become visible. At least 0; 1 is faithful. The Field itself is not changed.float1

Outputs

PortType
Fieldstructure
ImageThe picture the field is read from: a segmentation mask, any photo, live video, a generator. Without one, choose Region Everywhere.image
Widthfloat
Heightfloat

Open Vector Field 2D in the interactive catalog →

Vector Field 2D is one of 381 nodes in Grafit Pro.

Free download. Every feature for 7 days, no card. Then €99.99 once — or keep playing your projects as a Player.

More Generator nodes