ofrohn / d3-celestial

A star map with d3.js
BSD 3-Clause "New" or "Revised" License
631 stars 179 forks source link

Bug when displaying planets but no stars #124

Open timbeccue opened 2 years ago

timbeccue commented 2 years ago

Hello, I have been experiencing strange behavior when displaying planets without stars. It looks like it might be related to rendering the sun, which paints the whole sky yellow or blue (depending on whether it is visible).

Here's an example where you can see what is happening: https://codesandbox.io/s/vue-d3-celestial-planet-bug-c53np?file=/src/App.vue

Is this a problem in the source code or just my configuration/setup?

Thanks!