Betelgeuse is the hand of Orion
I wanted an interactive sky of constellations where you can click any star and see its name and some of the myths behind it, like how Betelgeuse is the hand of Orion in some of them.
Ok the real reason
Honestly half the reason I know these star names is Re:Zero. A ton of the characters are named after stars, Subaru is literally the Japanese name for the Pleiades, Petelgeuse is Betelgeuse, and Reinhard's family name Astrea comes from the goddess that became Virgo. There's way more, they're hidden down below so you don't get spoiled lol.
If you haven't watched it, watch it, I 100% recommend it.
The rest of the stars
Open only as far as you've watched or read. The pictures are those stars on the sky map.
Spoilers Anime season 1

Spoilers Anime season 3




Spoilers Light novel Arc 6



Spoilers Light novel Arc 7 and later


Betelgeuse pickedClick Betelgeuse and you get where the name comes from, the myths, how bright and far it is, and the Re:Zero box at the bottom if you have that on.
Spoiler levels
So the map has a Re:Zero setting where you pick how far you are, anime season 1, 2 or 3, or the light novel arcs. It marks every star a character is named after, and anything past where you're at stays hidden till you click it so it doesn't spoil you.
// Re:Zero − Starting Life in Another World: characters named after stars. tier = how far into the story
// the connection is a spoiler (1–3: anime seasons 1–3, 4: light novel Arc 6, 5: Arc 7 and later).
rezeroTiers: { 1: 'anime season 1', 2: 'anime season 2', 3: 'anime season 3', 4: 'light novel Arc 6', 5: 'light novel Arc 7 and later' },Every star to character connection has a tier for how far into the story it would spoil. The map only shows the ones at or below what you picked, and it remembers your pick in your browser.
Where the stars come from
It has all 88 constellations and around 5,000 stars from the HYG star database with the official star names from the International Astronomical Union, and the constellation lines come from the d3-celestial project. The myths and what the names mean are written for this page.
Tonight's sky
There's also a Tonight's sky mode that shows what's actually above you right now, or at any time you pick, and you can speed time up and watch it spin. If you don't set a location it makes a rough guess from your time zone, or you can hit My location.
function altaz(ra, dec, lst) {
const h = (lst - ra) * RAD, d = dec * RAD, p = lat * RAD;
const alt = Math.asin(Math.sin(p) * Math.sin(d) + Math.cos(p) * Math.cos(d) * Math.cos(h));
const az = Math.atan2(-Math.sin(h) * Math.cos(d), Math.cos(p) * Math.sin(d) - Math.sin(p) * Math.cos(d) * Math.cos(h));
return [alt / RAD, (az / RAD + 360) % 360];
}Every star is saved by its spot on the sky's own grid (RA and Dec), which basically never changes. To show your sky it takes your latitude and how far the Earth has spun for your time and spot (lst), and works out how high the star is above your horizon and which way to look.
The star map can be saved for offline and the star data comes with it, so you can take it somewhere with no signal and still look up what you're seeing.