Fork of Spinning Rainbow Starfield
✓ Published1🌍 Public
A fork of curran’s spinning rainbow starfield renders 4,000 stars in true 3D using Three.js and WebGL. Stars move toward the viewer, shifting into colorful spheres that reset ahead of the camera when they drift past it. Mouse movement steers the flight direction, with inertia smoothing the turns, while a crosshair marks the aiming point. The animation runs continuously, repositioning stars as needed to create the sensation of flight through an endless, star-filled space.
AI-generated description3D Starfield Flight Simulator
An interactive 3D starfield animation created with Three.js that allows you to fly through space using mouse control.
Features
- True 3D rendering using WebGL through Three.js
- Mouse-controlled flight navigation
- Colorful stars with enhanced size variation
- 4000 stars for a dense starfield experience
- Perspective projection with depth
- Smooth flight physics with inertia
- Responsive design that adjusts to window size
- Custom crosshair for navigation reference
How to Use
Move your mouse around the screen to control the flight direction:
- Move mouse left/right to turn left/right
- Move mouse up/down to pitch up/down
The small circular crosshair helps you aim your flight direction.
MIT Licensed