johanley / astro

Full source for astronomytonight.net, a site for amateur astronomers. The site has basic astronomy data for any location, and weather data for specific countries (the US and Canada). Customizable for your observing location.
BSD 2-Clause "Simplified" License
3 stars 0 forks source link

Charts - render the Sun and Moon more realistically #16

Open johanley opened 7 years ago

johanley commented 7 years ago

Show the apparent size of the Sun.

Show the apparent size and phase of the Moon. Show the polar angle of the crescent's axis.

At the moment, the Moon is shown as a simple small dot. At times of occultations, the star being occulted is being shown a small distance away from this dot.

johanley commented 7 years ago

Checked in a partial fix. The rendering of the Sun-Moon-planet is now sensitive to the object's apparent size, in relation to the size of the chart.