Comment

Comment by prideout

Yeah, the painter's algorithm fails with certain geometries, like when polygons intersect each other, or when they overlap in a certain way.

Maybe I should compare min positions rather than centroids, but I don't think that would fix those cases.

I think the only real fix involves splitting up the polygons for the failure cases, which seems complex.

parent prideout 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton