Node: Smooth

From Waltz
Revision as of 14:52, 9 March 2020 by Patrick Angle (talk | contribs) (Patrick Angle moved page Node: Smoother to Node: Smooth)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Smoother node is used to introduce smoothing to a List of Numbers, Points, and/or Touches. The output List will be in the same order as the input List. The smoothing of values requires that the values you wish to smooth remain in the same order in the list, otherwise the value may not be able to be smoothed between frames. Points and Touches smooth each of their axises (and in the case of a Touch, its radius as well) independently of each other.

Settings

Expected Type Details Default
input List<Number, Point, Touch> The value or List of values that are to be smoothed. The order of items is used to associate new values with only values for the purpose of smoothing.
smoothingFactor Number The factor by which a value will be smoothed. Smoothing is expressed as 1.0 / smoothingFactor. The calculated result is used as a percentage of trust to be placed in the new value, so a higher smoothingFactor will result in smoother output values, but will take longer to reach any given value. This value must be greater than or equal to 1.0, otherwise 1.0 is substituted. A value of 1.0 indicates no smoothing should be applied. 16

Parameters

Type Details
output List<Number, Point, Touch> Note: The parameter is read-only.The smoothed output of the input values. Values that can not be smoothed will instead be represented by a Null entry in the list. This List will be in the same order as the input List.

Functions

There are no functions exposed by this node.

Example Usage

No examples provided.

Nodes
Devices ArtNet Input · ArtNet Output · Interactive LED Processor · NDI™ Input · NDI™ Output · OSC Input · OSC Output · Projector · SensorLink · TCP · TUIO Output · UDP Input · UDP Output · Watchout Media Server
Objects LED Tile Layout · List · Map · Random Number · Simulated Touch · Timer · Value · Wave
Operators Blend · Change · Clip · Cluster Tracker · DMX Multiverse Merge · Ease · Filter · Hold · JSON Mapper · JSON Stringify · Logic · Math · Proximity · Range · Rotate · Scale · Shear · Smooth · Touch Mapper · Translate
Scenes External Scene · Material Scene
Materials Graph · Touch Material
Scripting Script Function · Script
Comments Comment