A 3D first-person starfield flight game. Dodge asteroids, chase the void.
Successor to a starfield simulator written in 1990.
Mobile — tilt your device to steer
Desktop — arrow keys or WASD
Space/Enter — launch / relaunch
- First-person flight through an infinite asteroid field
- Speed increases over time — how far can you go?
- Procedural asteroids with varied size, shape, and color
- Particle explosions on impact
- Score, speed, and distance tracking with best score
- Tilt controls on mobile (DeviceOrientation API with iOS permission handling)
- Keyboard controls on desktop
- Single HTML file, no build step
- Three.js (r128) from CDN
Single index.html. Three.js loaded from cdnjs. Stars are recycled BufferGeometry point clouds. Asteroids are deformed icosahedra with flat shading. Collision is sphere-based distance check. The starfield wraps infinitely — stars and asteroids behind the camera respawn ahead.
The original Starfield was a DOS starfield simulator written in 1990. This is its spiritual successor, 36 years later, running in a browser on your phone.
MIT