LeetCode Space Odyssey
LeetCode Space Odyssey is a real-time interactive space dashboard where you travel the cosmos alongside an astronaut.
Core trick
Triggers a coding challenge when simulated fuel drops below a threshold, over a D3 globe plotting live N2YO satellite positions.
Description
LeetCode Space Odyssey is a real-time interactive space dashboard where you travel the cosmos alongside an astronaut. Your spacecraft orbits the globe autonomously, collecting fuel by docking near satellites and losing fuel when lightning storms pass beneath. When the tank runs critically low, a LeetCode-style coding challenge appears — solve it to refuel and keep flying.
timcanby/2-21-submission-for-google-gemini3-hackathon★ 00 forksTypeScriptCreated Feb 21, 2026 · last push Feb 21, 2026
README excerpt
# LeetCode Space Odyssey > **Fuel your journey — one problem at a time.** LeetCode Space Odyssey is a real-time interactive space dashboard where you travel the cosmos alongside an astronaut. Your spacecraft orbits the globe autonomously, collecting fuel by docking near satellites and losing fuel when lightning storms pass beneath. When the tank runs critically low, a LeetCode-style coding challenge appears — solve it to refuel and keep flying. --- 🎬 Demo video: [Watch on YouTube](https://youtu.be/C7XZ36psWGc) ## Features | Feature | Description | |---|---| | Real-time globe | Interactive D3.js orthographic globe with drag-to-rotate and configurable spin speed | | Satellite tracking | 2,500+ live satellites fetched from N2YO, with Starlink toggle and per-category filtering | | Lightning feed | Live global lightning strikes streamed from the Blitzortung WebSocket network | | Astronaut fuel system | Fuel drains near lightning (danger zone ≤ 800 km) and recharges near satellites (charge zone ≤ 1,200 km) | | Proximity visualization | Animated distance bars, pulsing rings on the globe, and dashed connection lines to nearest threat/source | | LeetCode refuel quiz | AI-generated coding challenges (Easy/Medium/Hard) graded by Gemini; correct answers restore fuel | | Starlink toggle | Show or hide all STARLINK-* satellites with a single button | | Globe spin control | Slider to set rotation speed from 0× (stopped) to 3× | | Welcome screen | Full-screen GIF intro with fade-out tr