Function: filterSamples()
filterSamples(
samples,params):PenSample[]
Defined in: dabs.ts:95
Run the causal filter over a whole list. The live surface feeds its filter one point at a time as they arrive — that is what "causal" is for — but a fresh filter driven over a recorded list produces exactly the same sequence, which is what makes the pipeline testable and what lets the Lab re-run a captured stroke through new parameters without re-drawing it.
Parameters
samples
readonly PenSample[]