Uses Numbers.movingAverageLight to keep track of average x, y and z values.
// Create averagerconst averager = Points.averager(`moving-average-light`);// Call function with a point to add it to average// and return the current average.averager(somePoint); // Yields current average {x,y,z?} Copy
// Create averagerconst averager = Points.averager(`moving-average-light`);// Call function with a point to add it to average// and return the current average.averager(somePoint); // Yields current average {x,y,z?}
Scaling parameter. Higher means more smoothing, lower means less (minimum: 1). Default: 3
Uses Numbers.movingAverageLight to keep track of average x, y and z values.