ofrohn / d3-celestial

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

horizontal.inverse function missing a sign correction? #148

Open FinduschkaLi opened 9 months ago

FinduschkaLi commented 9 months ago

It seems the horizontal.inverse function should have something like: if (Math.sin(az) > 0) { ha = -ha; } after ha = Math.acos(ha); I was trying to plot a circle around the zenith for a certain observer's location, which gave me only a half circle without this modification.