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

ParameterTypeDefaultWhat it does
inputCollection or Number[]—Shapes or NumberArray to smooth
domainString"Spatial"Spatial: blur neighboring pixels. Temporal: smooth across frames. One of: Spatial, Temporal.
strengthNumber0.500How much to smooth (0 = none, 1 = maximum)
iterationsNumber1Number of smoothing passes (spatial only, more = smoother)
temporal_modeString"Smooth"Smooth: exponential average. Window Average: weighted N-frame average. Echo: additive decay trails. One of: Smooth, Window Average, Echo.
depthNumber4Number of past frames to blend (Window Average and Echo modes)
kernelString"Gaussian"Weighting kernel for Window Average mode. One of: Box, Gaussian, Triangle.
falloffNumber0.700Decay factor per frame for Echo mode (0 = instant fade, 1 = no fade)

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