Settings

Theme

The Weiler-Atherton polygon clipping algorithm

liorsinai.github.io

28 points by the_origami_fox 2 years ago · 2 comments

Reader

YoshiRulz 2 years ago

The author links to another blog discussing the related Martinez-Rueda algorithm, which I mention not only because this post ends with "I am considering implementing the Martinez-Rueda algorithm because [... it is more featureful]", but because at the top of it[1] there's a "visual proof" of sorts that I found strikingly concise.

[1]: https://sean.cm/a/polygon-clipping-pt2#annotating-segments

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection