This project is a 3D representation of the solar system built using Three.js. It visualizes planets orbiting around the sun in real-time and uses textures for a more realistic effect.
Follow these steps to run the project locally:
-
Unzip the Project Folder
Extract the downloaded ZIP file to a convenient location on your machine. or Clone the Repo Your may clone the repo and then open it on our code editor -
Check Assets
Ensure theassets/folder is present and all textures are loaded correctly. This folder contains the textures used for planets, sun, and stars. -
Open in Code Editor
Launch your preferred code editor (e.g., VS Code) and open the extracted folder. -
Run the Project
Openindex.htmland run it using the Live Server extension or any local web server environment.If you're using VS Code, right-click on
index.htmland select “Open with Live Server”.
- Realistic planetary textures and orbits
- Scaled size and distance representation (with some artistic liberties)
- Simple orbital animation loop
- Built with Three.js (WebGL-powered 3D)
- Three.js – for rendering the 3D scene
- HTML/CSS/JavaScript – basic frontend setup
- Live Server – for local hosting and testing