Live from NASA open data
See the universe as it happens.
Today's astronomy picture, asteroids passing Earth this week, our planet from a million miles away, and NASA's public image archive, all pulled live from NASA's APIs.
- Picture of the Day
- Asteroids
- Earth
- Image library
01 · Deep sky
Astronomy Picture of the Day
A new image or video of our universe every day since 1995.
02 · Close approaches
Asteroids passing Earth
Near-Earth objects making a close approach in the next 7 days. 1 LD (lunar distance) is the distance to the Moon.
Safe pass Potentially hazardous · distance on a log scale · hover a dot
03 · Home
Earth from a million miles away
Latest full-disc images from the EPIC camera on NOAA's DSCOVR satellite, parked between Earth and the Sun.
04 · Archive
NASA Image Library
Search NASA's public archive of mission photos and imagery.
05 · Play
Asteroid Defender
Defend Earth from this week's real asteroids. Every rock's name, size and speed come from NASA's live data.
Captured this run
Under the hood
How it's built
A dependency-free front end: plain HTML, CSS and JavaScript, no framework and no build step.
- 3D scene on canvas A perspective starfield with real depth and parallax, plus a depth-sorted ringed planet, drawn without a 3D library.
- Four NASA APIs APOD, NeoWs, EPIC and the Image Library, with timeouts, rate-limit messages and a backup source for Earth imagery.
- A game on real data Asteroid Defender turns this week's live asteroid feed into gameplay: real names, sizes and speeds.
- Handles NASA's 2026 APOD migration including the new date-slug routes and HTML-formatted fields.
- Safe and accessible API text is never injected as HTML, URLs are checked, controls are keyboard-friendly, and motion is switched off for visitors who prefer reduced motion.