The Universe is a space flight simulator that runs in a web browser. I designed, built and
shipped it on my own. The player lifts off from Kennedy Space Center, reaches orbit, travels to any of
57 real places in space, from the Moon and Europa out to nebulae, black holes and the
Andromeda galaxy, then lands on a planet or a moon and walks its surface under that planet's real gravity.
Nothing in the sky is decorative. Every position, size, distance and travel time for light is worked out
live from published astronomical data at the current clock time, so the planets are where they really are
while you are flying. The project's design constraint was honesty: where the simulation departs from physics, in the
wormhole that removes the travel time, the guided landings and the close approaches to distant stars, the
game states it on screen, next to the real numbers.
At a glance
- Destinations
- 57 real places in space
- Places you can land
- 12 planets and moons, each with its real gravity
- Simulation
- Real positions, distances and light travel times
- Platform
- Any modern browser, keyboard or touch
- Role
- Design, engineering, art, release
- Access
- Free, no installation, no account
How it works
- Real positions. Where the planets and moons sit is read from the astronomy-engine library against the live mission clock, which also draws the day and night line across Earth.
- Real sky. The stars come from the HYG v4.1 catalogue, which merges the Hipparcos, Yale Bright Star and Gliese star surveys, so the constellations keep their real shape as you fly through them.
- Real-time graphics. A three.js and WebGL pipeline with a glow pass for bright stars, planet imagery from NASA and Solar System Scope under CC BY 4.0, and a renderer that scales down to phone screens.
- Flight model. Throttle, steering thrusters, roll, flight assist, readouts for the high and low points of your orbit, and time warp, with an autopilot that can fly the launch, the descent and the touchdown.
- On foot. Stepping out of the ship switches to a walking mode where running and jump height follow the real gravity of that world, and the player can plant a flag made from their own name.
three.jsWebGL
JavaScriptastronomy-engineHYG v4.1 catalogue
Orbital mechanicsShadersReal-time 3D