If you zoom in far enough it ends in pixels
Unfortunately it's a hard problem with no easy, performant solutions.
That's a shame. It's still an interesting program, though.