Skip to content

hex01e/solarSystem

Repository files navigation

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:

    git clone https://github.com/hex01e/solarSystem
  2. Navigate to the project directory:

    cd solarSystem
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm run dev
  5. Open http://localhost:5173 in your browser to view the project.


Screenshots 📸

preview


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!

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors