Hi everyone! I’m Ashwin, a solo maker from India. I’ve been building Planet-X, a browser globe built with three.js, with live radio, TV and webcams for every country. No install, no account needed to explore.
Planet-X — a small living planet you can hold
Dig straight down
The feature people keep coming back to is Dig: pick a spot, dig straight down, and the camera flies you through to the point on the opposite side of the Earth.
Try it: Dig straight down · Planet-X
The math is trivial. Your antipode is just the flipped latitude and the longitude shifted by 180°:
function antipode(lat, lng) {
return { lat: -lat, lng: lng > 0 ? lng - 180 : lng + 180 };
}
The camera was the hard part
My first version used a simple damped fly-to, and it felt like a teleport rather than one continuous motion. I replaced it with a planned zoom-and-pan path based on van Wijk & Nuij’s “Smooth and efficient zooming and panning.” The idea is to treat zoom and pan together as one optimal path, pulling out just enough to see where you’re going and then moving in, at a speed that feels constant. That one change made the globe stop feeling like a map viewer.
[Optional: add 2–3 sentences on how you adapted the path to a sphere, how you handle the camera going “into” the ground, or any shader/rendering tricks for the globe itself. This is the part three.js folks will find most interesting.]
Other things on the planet
- Live radio from any country (via the community-run Radio Browser directory)
- Live TV and webcams
- Guess Where: hear a mystery radio station and drop a pin where you think it’s playing
- A daily World Question with answers from every country
- Secrets you can bury that can only be found by digging
Stack
three.js, Vercel and Supabase.
Feedback welcome
I’m building this alone, so I’d really value input from people who know three.js well:
- How does the camera flight feel on your device? Any stutter on mobile?
- Anything about the globe rendering you’d do differently?
- What confused you in the first ten seconds?
Thanks for looking!
