Keep Average (vuo.math.keep.average2)

Calculates the average (mean) of the values received by this node so far.

If an event hits both Value and Reset, then the history is reset before the average is recalculated. In other words, the node outputs Value.

If you increase Lookback from A to B while the composition is running, then the next event to Value will calculate the average based on Value and the previous A values in its history.

For point types, this node averages each component (X, Y, Z, W) of the points separately.

Keywords: Kalman filter, SMA, calm, combine, continuous, history, hold, mean, middle, midpoint, mix, moving, preserve, recent, retain, rolling, sample, smooth, steady, store


Example composition:


Back to vuo.math node set documentation.