An open API service indexing awesome lists of open source software.

https://github.com/hex01e/solarsystem

This project is an interactive 3D solar system visualization built using Three.js. It displays a dynamic and visually stunning representation of the solar system, complete with the Sun and planets arranged in their orbits.
https://github.com/hex01e/solarsystem

3d js solar-system threejs ts

Last synced: about 2 months ago
JSON representation

This project is an interactive 3D solar system visualization built using Three.js. It displays a dynamic and visually stunning representation of the solar system, complete with the Sun and planets arranged in their orbits.

Awesome Lists containing this project

README

          

# Solar System Visualization with Three.js 🌍✨

This repository contains a 3D visualization of the solar system, built using **React** and **Three.js**. The project simulates the Sun, planets, and their orbits in an interactive and visually engaging manner.

---

## Features ✨

### 🌞 Realistic Solar System
- **Planets and Sun**: Includes the Sun and all planets in the solar system with accurate scaling and texture mapping.
- **Rings for Saturn and Uranus**: Detailed and textured rings to enhance realism.

### 🎥 Interactive Exploration
- **Orbit Controls**: Rotate, zoom, and pan to explore the solar system from any perspective.
- **Dynamic Camera**: Camera adapts to screen resizing, ensuring an optimal view.

### 🚀 Smooth Animations
- Planetary rotation and orbital movements are animated to create a dynamic and lifelike experience.

---

## Technology Stack 🛠️
- **React**: For building the user interface.
- **Three.js**: For 3D rendering and animations.
- **CSS**: For styling.

---

## Installation and Setup ⚙️

### Prerequisites
- Node.js and npm installed on your machine.

### Steps
1. Clone the repository:
```bash
git clone https://github.com/hex01e/solarSystem
```

2. Navigate to the project directory:
```bash
cd solarSystem
```

3. Install dependencies:
```bash
npm install
```

4. Start the development server:
```bash
npm run dev
```

5. Open `http://localhost:5173` in your browser to view the project.

---

## Screenshots 📸

![preview](ScreenShots/preview.gif)

---

## Future Enhancements 🚀
- Add moons for planets like Earth, Jupiter, and Saturn.
- Improve textures and lighting for higher realism.
- Add user interactivity, such as displaying planet information on click.
- Incorporate additional celestial objects like asteroids and comets.

---

## Acknowledgments 🙌
- **Three.js Documentation**: For providing extensive resources on 3D rendering.
- **NASA**: For inspiration and planetary data.

---

Feel free to fork this project, explore it, and contribute your ideas to make it even better!