Roya Astro
Roya Astro

Stars

This sky map uses d3.js and paper.js to display the night sky.
It displays a projection of the night sky (stars down to magnitude 9, constellation lines, planets, brightest Messier and NGC objects). The star database derives from the astronomy nexus, and the constellation lines from the PP3 program.
You can zoom and drag the map, and hovering over a star displays its Draper catalog number and Bayer designation if available.
The amount of detail (ie the magnitude limit) depends on the zoom factor. At a certain level, we load tiles containing fainter stars, and unload them when zooming out or panning across the sky. This is described in a blog entry. To save memory and speed up loading, the constellation lines and boundaries are stored in TopoJSON, Mike Bostock's utility for encoding topology.


Planets in 3D

Planets with their orbits. The Solar System objects are represented with THREE.js with a custom rendering engine based on Paper.js.

It is possible to load additional objects (using the "settings" page). The orbital elements for these comets and asteroids come from the Minor Planet Center.

The orbit computations are from Jean Meeus' "Astronomical Algorithms". Much of the code was adapted from Peter Hayes ephemeris.


Planet Path

Trace the path of a planet between 2 dates, in ecliptic coordinates.


Graticule with moving ticks

The ticks follow the movement of the graticule while panning and zooming with the mouse.