defuss-shadcn / Website / Showcase / showcase-observatory
Observatory
A one-page site for a public observatory - a starfield behind tonight's sky, the moon's phase, what is up and how bright, a constellation pinned up with a hint in a speech bubble and the next public night as a ticket. Three looks: Night sky, Red light and Day visit. One of the Showcase sites.
Hill Observatory, public nights
The Look select switches the sky: Night sky (a Shader starfield), Red light (everything in red on black - what observers use so their eyes stay dark-adapted) and Day visit (light, the clouds drifting). The moon's phase is CSS, the brightest objects are drawn by magnitude.
Composed from Button, Select, two Shaders (starfield at night, clouds by day) and the ticket shape of shapes.css. The moon is radial gradients, the constellation an inline SVG, the dots in the table are sized by the magnitude.
Comments, ideas or improvements? Edit this page's source on GitHub