Release Velocity Sampler
Samples a drag's instantaneous velocity into a small ring buffer and, on release, computes the average velocity over the last windowMs of motion. Better than EMA for fling: users tend to decelerate slightly just before lifting, and the EMA smears that deceleration into the reported release velocity. Averaging over a short trailing window captures the actual flick speed.
Units of dx/dy/dt are caller-defined — typically (pixels, pixels, milliseconds), giving a release velocity in pixels per millisecond.