This is a realistic 3D Solar System built using Three.js. It features orbiting planets, procedural textures, and realistic lighting from the Sun.
- Planets with realistic colors and procedural surface textures
- Sunlight with shadows for better visibility
- Adjustable properties (size, speed, distance) using UI sliders
- Rotating and orbiting planets around the Sun
- Orbit rings for visualization
- Clone the repository:
git clone https://github.com/your-username/threejs-solar-system.git cd threejs-solar-system - Install dependencies (if using a bundler like Vite or Webpack):
npm install
- Run the project:
OR simply open
npm run dev # For Vite/Webpackindex.htmlin a browser if not using a bundler.