- noiseFilter(cutoffMin?, speedCoefficient?, cutoffDefault?): ((value: number, timestamp?: number) => number)
Parameters
- cutoffMin: number = 1
- speedCoefficient: number = 0
- cutoffDefault: number = 1
Returns ((value: number, timestamp?: number) => number)
- (value, timestamp?): number
Parameters
- value: number
Optional
timestamp: number
Returns number
Noise filtering
Algorithm: https://gery.casiez.net/1euro/
Based on Jaan Tollander de Balsch's implementation