d3.js How to simplify a complex path - using a custom algorithm

前端 未结 2 1344
[愿得一人]
[愿得一人] 2021-01-22 01:08

\"enter

I\'ve got a very basic example here. http://jsfiddle.net/jEfsh/57/ that creates a

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-22 01:35

    Lots of good references in the comments to this question -- alas they are comments and not suggested answers which can be truly voted on.

    http://bost.ocks.org/mike/simplify/

    shows interactive use of this kind of thing which references Douglas-Peucker but also Visvalingam.

提交回复
热议问题