libTess is the gold standard for polygon tessellation. A JS port is available:https://github.com/brendankenny/libtess.js/ …
Yep, same results here! I actually removed the red-black tree I was originally using for the active edge list. The resulting O(n^2 log n) algorithm is actually faster in practice than the O(n log n) one.
-
-
You guys over complicating everything ;) for text rendering I tried
@EricLengyel and I won't spend my time from now on reinventing the wheel. For shapes loop blinn + kojojima mix is simple, fast and robust for absolutely most of real world use cases. -
Well, Pathfinder’s approach is simpler than that of Slug. See the shader: https://github.com/pcwalton/pathfinder/blob/master/shaders/gles2/stencil-aaa.fs.glsl …
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.