npx serve .- Planet textures sourced from NASA or SolarSystemScope.
- Skybox images should be part of a cube-map to maintain visual consistency.
-
Clone or download the project.
-
Install textures and structure the folders as above.
-
Run a local server:
npx serve . -
Access the demo at
http://localhost:3000in a modern browser.
- Mouse drag/scroll for camera control
- Pause and Dark/Light buttons at the top-right
- Sliders adjust individual planet orbital speeds
- Hover to display planet names via tooltip
-
Uses ES Modules with Three.js add-ons (
OrbitControls,EffectComposer,UnrealBloomPass) -
Implements skybox via
CubeTextureLoader()for seamless backgrounds ([discourse.threejs.org][1], [waelyasmina.net][2], [threejs.org][3], [threejs.org][4], [github.com][5], [discourse.threejs.org][6], [discourse.threejs.org][7]) -
Applies bloom effect on the sun for dramatic lighting using
UnrealBloomPass -
Includes sun rotation, planet orbits, and tooltip functionality
-
Fully styled in JavaScript — no CSS or HTML styling required
- Bloom effect demonstration from Three.js examples
- Skybox setup using
CubeTextureLoader()techniques([threejs.org][4])
Released under the **MIT License** — you're free to use, modify, and share this project!