Closed JanisE closed 4 years ago
Yeah, this is a problem. iOS Safari is not affected, desktop only.
macOS Safari, the bug with the rendering of some projections: https://armchairastronautics.blogspot.com/p/skymap.html If we select some "...(hemi)" it renders something like that: https://cloud.mail.ru/public/5BXX/32rgUxKXr
I've finally been able to reproduce it. It also happens with other OSes, I'll get at soon...
That may have been easier than expected. I gave the background 179.9 degrees radius so that it wraps neatly around everywhere — and it seems to work! I think that could be called the nuclear option, but anyway, can anybody verify if the issue is fixed in the newest version? (0.6.20)
Nice hack. ;) This works for me on Safari, I tried many projections. Is there a chance that a 0.1° white sliver will now be visible on some high-res monitors? I don't see anything myself.
@ofrohn thanks for your work on this! Any way to contribute to development or buy you a beer?
@alexandervlpl Thank you! I don't require any liquid fertilizer to work, but if you have any errors to report or feature ideas, you are always welcome! See the road map here: https://github.com/ofrohn/d3-celestial/wiki/Roadmap
The background is always centered before displaying, so the missing sliver should always be outside the clipped hemisphere.
What is Safari's problem when drawing the current sky by time and location?
context.fill
indrawOutline
seems to have no affect, andcontext.stroke
seems to draw a broken circle:http://storage5.static.itmages.com/i/18/0329/h_1522310479_5461621_65ecaba8c4.png
Tried with macOS Safari 10 and 11. On iPhone 8 it works all right though.