mattdesl

mattdesl/simplify-path

simplify 2D polyline of arrays

JavaScript
93
4
BSD 2-Clause "Simplified" License

This JavaScript library simplifies 2D polylines by removing redundant points using radial distance and Douglas-Peucker algorithms, returning an optimized array of coordinates. It's designed for developers working with npm modules like stack.gl or parse-svg-path who need efficient polyline simplification in their applications.

Total donated
Undistributed
Share with your subscribers: