ankusharma001/Solar-System

โ˜… 0Forks 0JavaScriptGitHub โ†—Compare

README

๐ŸŒŒ Three.js Solar System

This is a realistic 3D Solar System built using Three.js. It features orbiting planets, procedural textures, and realistic lighting from the Sun.


๐Ÿš€ Features

  • 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

๐Ÿ› ๏ธ Setup & Installation

  1. Clone the repository:
    git clone https://github.com/your-username/threejs-solar-system.git
    cd threejs-solar-system
  2. Install dependencies (if using a bundler like Vite or Webpack):
    npm install
  3. Run the project:
    npm run dev  # For Vite/Webpack
    OR simply open index.html in a browser if not using a bundler.

Contributors

ankusharma001

Issues