/SolarSystem

Using Threejs to replicate Solar System with the actual proportion of planet size, spin, and orbit rotation

Primary LanguageJavaScriptMIT LicenseMIT

SolarSystem

Using Threejs to replicate Solar System with the actual proportion of planet size, spin, and orbit rotation.

Check live demo - https://solarsystemtoscale.vercel.app/


Aim

  • Use actual size of all spatial bodies (obviously scaled down to fit in your screen)
  • Use actual spin speed of all spatial bodies (scaled down, due to their big size they spin really fast)
  • Use actual orbit rotation speed of all spatial bodies (scaled down)
  • Use actual (or similar) texture for all spatial bodies
  • Implement Orbit controls - to pan around, zoom in, zoom out, etc.
  • Implement First Person controls

Development

First install all packages then use the dev script to run the app

npm i
npm run dev

Issues

Most of the facts and measurements used this project are taken from the web and all resources are attached, but if you feel any of them are wrong please open an issue.