HTML5 Night Sky Viewer

For HopHacks last weekend, I wrote an HTML5 night sky viewer. Using D3.js and SunCalc, the 750 brightest stars are rendered using SVG and Javascript. One’s location can either be found using the HTML5 Geolocation API, or it can be entered manually. The keyboard is used to navigate, and mousing over a star will display some information about it. As it was written in a weekend, there may be bugs.

Here is the viewer:
https://mpetroff.net/files/nightsky/

The code is available on Github.

Night Sky

This entry was posted in and tagged , , . Bookmark the permalink.

One Response to HTML5 Night Sky Viewer

  1. Camiel Wijffels says:

    Great night sky!
    Only bug I can see so far is the position and size of the moon

Leave a Reply

Your email address will not be published. Required fields are marked *