I'll create an impressive stargazing dashboard. Let me first explore the project structure to understand what's already set up.
Let me check the remaining setup files to understand the styling and utilities available.
This is a React + Vite + Tailwind v4 project with a cn utility. Now I'll build a rich stargazing dashboard. Let me start by setting up the HTML (title + fonts), global styles, and the astronomy data layer.
I'll create these independent files first:
Now the astronomy calculation library — moon phase, season detection, meteor shower timing, and the composite viewing score:
Now I'll create the animated cosmic background and a small set of shared UI primitives:
Now the Moon phase card with an accurate illuminated-disk SVG:
Now the Dark Sky rating card with a custom Bortle-scale radial gauge:
Let me fix that unused variable in the gauge:
Now the viewing conditions card with atmospheric metrics and a rating breakdown:
Now the centerpiece — an interactive radial sky map plotting planet positions by azimuth & altitude:
Now the constellation finder with interactive stick-figure star patterns:
Now the meteor shower calendar with a year timeline and countdowns:
Now the header with live clock, viewing-site selector, and tonight's score badge:
Finally, the main App.tsx that wires up state (live clock, selected site) and lays out the bento grid:
The dashboard is assembled. Before building, let me fix one SVG detail — the pulse-ring animation on an inner <circle> needs transform-box so it scales around its own center rather than the SVG origin:
Now let me build the project to confirm everything compiles correctly:
The build succeeded. Let me verify the final sky map component renders cleanly after my edit by checking it compiles into the bundle correctly and reviewing the structure once more:
The build is clean and the dashboard is complete. Here's what I created — Stellaris, a pre-populated stargazing dashboard for tonight:
Features built
🌌 Animated cosmic backdrop — StarField with 160+ twinkling stars, drifting nebula blobs, colored bright stars, and periodic shooting stars.
🧭 Planet Positions — An interactive radial zenith-view sky map that plots all 7 planets by real azimuth/altitude (N at top, E at left, altitude rings at 30°/60°). Click any planet to see magnitude, direction, set time, and viewing notes. Planet dot sizes scale with brightness; Saturn even gets a ring hint.
✨ Constellation Finder — 9 constellations with hand-drawn SVG stick-figures (Orion, Big Dipper, Cassiopeia, Cygnus, Lyra, Leo, Scorpius, Taurus, Pegasus). Visibility is computed live from the current season, with circumpolar detection, brightest star, best viewing window, sky direction, and deep-sky targets.
☄️ Meteor Shower Calendar — All major showers sorted by next peak, with a year-long timeline (sized dots by ZHR, a live "TODAY" marker), countdown to next peak, "active now" detection, radiant, parent body, speed, and moon-friendliness.
⛅ Viewing Conditions — Cloud cover, seeing (arcsec), transparency, humidity, temp, and wind, plus a weighted breakdown of the composite "tonight's rating."
🌌 Dark Sky Rating — A custom semicircular Bortle-scale gauge (classes 1–9) with a pointer, plus an interactive viewing-site selector (Mauna Kea → City Center). Switching sites recomputes the Bortle class, conditions, and overall score live.
🌑 Moon Phase — An accurate illuminated-disk SVG computed from today's date (synodic-month math), with illumination %, age, and rise/set.
Technical notes
- Moon phase, season, and constellation visibility are computed live from today's date, so it always reads as "tonight"; planet positions and shower peaks are pre-populated.
- A live ticking clock updates every second, and the overall verdict badge reflects a weighted score (dark sky 40% / cloud 25% / moonlight 20% / seeing 15%).
- Built with modular components, a shared UI kit, Space Grotesk + JetBrains Mono typography, and a responsive bento grid. The project builds successfully.
Files built: index.html, src/index.css, src/lib/data.ts, src/lib/astro.ts, src/components/StarField.tsx, src/components/ui.tsx, src/components/MoonCard.tsx, src/components/DarkSkyCard.tsx, src/components/ConditionsCard.tsx, src/components/SkyMapCard.tsx, src/components/ConstellationCard.tsx, src/components/MeteorCalendarCard.tsx, src/components/Header.tsx, src/App.tsx