Skip to content

Stunningly realistic representation of the Solar System, complete with nearby stars. Built with three.js, WebGL, and ReactJS.

License

Notifications You must be signed in to change notification settings

fatihbalsoy/Solar3

Repository files navigation

Banner

Solar3 is a stunningly realistic representation of the Solar System, complete with nearby stars. Built with three.js, WebGL, and ReactJS.

Launch

Solar3 is not compatible with iPhone or iPad due to memory restrictions on iOS browsers.

Gameplay

Explore the wonders of our solar system! Discover fascinating details about each planet as you delve into their unique characteristics. By simply searching for a planet, you can access a summary of information pulled from reliable sources like NASA and Wikipedia. Additionally, the feature provides essential astronomical coordinates such as Right Ascension (RA), Declination (Dec), Azimuth, and Altitude, granting you a deeper understanding of the planet's position in the celestial sphere. Unveil the secrets of our neighboring worlds and elevate your astronomical knowledge with just a few taps.

To adjust the camera's distance, simply scroll up or down. If you want to orbit around a particular celestial object, click and drag your mouse. Additionally, you can center an object on your screen by using the search bar located at the top. For instance, you can search for celestial bodies such as the following:

Planets
  • Mercury
  • Venus
  • Earth
  • Mars
  • Jupiter
  • Saturn
  • Uranus
  • Neptune
Dwarf Planets
  • Pluto
Moons

Earth

  • Moon

Jupiter

  • Europa
  • Ganymede
  • Io
  • Callisto
Stars
  • Sun
  • Antares
  • Polaris
  • Proxima Centauri
  • Rigil Kentaurus
  • and lots more!

Screenshots

Info Card Screenshots

Known Issues

Here are some known issues that will be worked on in the near future:

  • Every celestial object's rotation, other than Earth and Moon, is not accurate.
  • The camera is not oriented along the ecliptic plane.

Setup & Build

Build Status Orbit Calculation Status Update Wiki Status

Web

Download Node.js. Run the following commands:

# Install dependencies (only the first time)
npm install

# Run the local server at localhost:8080
npm run serve

# Build for production in the dist/ directory
npm run build:prod

# Calculate orbits and create cache file
npm run calculate-orbits

# Pull latest planet information from Wikipedia
npm run update-wiki

# Calculate orbits, update wiki, then build for production
npm run build:prod:all

# Run build:prod:all and run the local server at localhost:3000
npm run serve:prod

Contribution

Feel free to submit a pull request for one of the following:

  • New features
  • Performance enhancements
  • Fixing bugs
  • Patching security vulnurabilities

License

Solar3 is available under the AGPL v3.0 license. See the LICENSE file for more info.

Special Thanks and Licenses

This project would not have been possible without these helpful resources: