A high-performance JavaScript 2D/3D polyline simplification library
mourner.github.com/simplify-js/
mourner/simplify-js