Skip to content

poly-simplify v.0.1.8

Pre-release
Pre-release

Choose a tag to compare

@herrstrietzel herrstrietzel released this 11 Jun 03:07
· 3 commits to main since this release

poly-simplify

Dependancy free JS library to simplify polyline or polygon vertices.

This library is obviously heavily inspired by Volodymyr Agafonkin's brilliant »simplify.js« library which has become kind of a standard.
While most polygon simplification libraries focus on geodata/map applications, »poly-simplify« aims for a more versatile approach. For example, it provides a variety of input (normalization) options, such as point object arrays, nested coordinate arrays, point strings, JSON and SVG path data, and includes multiple output formats as well as optimizations for SVG graphic applications.