This project is a web-based visualization of the Solar System built with Three.js, a popular JavaScript library for creating 3D graphics.
Explore the Solar System in a 3D environment. View planets and other celestial bodies. (Feel free to add specific features present in your project) Getting Started:
Node.js and npm: Download and install them from https://nodejs.org/en Git: Download and install a Git client from https://git-scm.com/ (if you don't have one already)
-
Open your terminal or command prompt.
-
Use the following command to clone the project using SSH:
git clone https://github.com/Bappy4u/Solar-System.git
-
This command will download the project files to your local machine.
-
Navigate to the project directory:
cd Solar-System // Assuming the cloned directory is named Solar-System
-
Install the project dependencies:
npm install
-
Start the development server:
npm run start
This will automatically install any missing dependencies and launch a local development server using Parcel.
-
Open your web browser and navigate to the provided URL (typically http://localhost:1234/).
You should see your Solar System visualization.
The main project code resides in src/index.js. Feel free to modify this file to customize your Solar System scene. Parcel provides hot reloading, so changes to your code are automatically reflected in the browser without needing a full refresh.
Three.js (https://threejs.org/)
This project uses the ISC License (refer to LICENSE file).
We welcome contributions to this project. Feel free to fork the repository and submit pull requests with your enhancements.
Three.js Documentation: https://threejs.org/