Smooth

Smooth vector path vertices, blur images, or smooth values over time.

What it does

Smooth reduces jitter and noise, choosing the kind of smoothing from what is plugged in. On a shape it relaxes the path's vertices so corners and wobbles soften while the curve keeps its handles, and it never bakes the shape to an image. On an image it runs a Gaussian blur across neighbouring pixels. With Domain set to Temporal it smooths a moving value or a video signal frame to frame instead of across space.

Strength controls how much smoothing is applied, 0 for none and 1 for maximum. Iterations chains extra spatial passes for a stronger result without raising Strength.

When to use it

ParameterTypeDefault
inputOneOf([Collection, NumberArray])
domainString"Spatial"
strengthNumber0.500
iterationsNumber1
temporal_modeString"Smooth"
depthNumber4
kernelString"Gaussian"
falloffNumber0.700

Gotchas

Domain exposes only the parameters it uses. Iterations applies to Spatial smoothing; Temporal Mode, Depth, Kernel and Falloff matter only once Domain is Temporal, and Kernel and Falloff depend further on the Temporal Mode chosen.

Depth (2–16) sets how many past frames Window Average or Echo blends. Higher values smooth harder and react more slowly to real changes.

Smooth on a triangle mesh currently passes the mesh through unchanged rather than relaxing it: mesh smoothing is not wired up yet. Points and other non-shape collections pass through untouched too. Only shapes and images are smoothed today.

Worked example

  1. Add a Smooth node and wire in a hand-drawn or noisy shape.

  2. Leave Domain at Spatial. Raise Strength to relax the vertices; raise Iterations for a stronger pass without pushing Strength past 1.

  3. To smooth an image instead, wire in a raster and raise Strength. The node switches to a blur.

  4. To steady a value over time, set Domain to Temporal, pick Temporal Mode, and tune Depth (Window Average / Echo) or Falloff (Echo).

See also

Offset · Trim Path · Bevel · Deform