Polyline smoothing (hotpoints algorithm) | ScratchStats