Repository navigation
Conversation
bda2e1b to
120fd40
Compare
|
Quick update. I have been working on this on and off (more off than on I have to admit). The main goal for the new tessellator is uncompromising robustness (I'll see about curves later), and in order to make sure the algorithm is able to recover from invalid states introduced by floating point inaccuracy, I have been working on making it pass the whole test suite without handling self-intersections. So in the many tests that do have self-intersections, the algorithm at some point gets into a pretty bad invalid state and must recover, which is actually pretty tough but I think will pay off in the long run. I'm down to 8 tests failing (out of 133), and the new tessellator even passes three tests that the current one fails. So even though it's a pretty old branch by now (Feb 2018, ouch!), I keep coming back to it when I have time and energy, and not all hope is lost. |
e96e3ca to
e83db86
Compare
4af752d to
4c57a5b
Compare
ed60487 to
d8a7257
Compare
…l paths with the same context.
… convenience for path slices.
|
I am getting close to merging the biggest pull request I ever made (and I hope to never beat this personal record of mine in the future). |
A rewrite of the fill tessellator with a few major differences:
it understands quadratic bézier curves and lines instead of just lines (if this works out the tessellator will be resolution-independent)`(Edit: backed down on handling curves in the hope of being able to ship some day!),It also shares some important similarities with the current tessellator:
This is far from finished, but if it works out it'll be pretty exciting.