Skip to content

About

Solar system model in Three.js

Topics

Resources

Stars

25 stars

Watchers

1 watching

Forks

Repository files navigation

Solar System Model

An interactive 3D model of the Sun, planets, and major moons. Travel between bodies, read a few facts, and toggle view layers. Built with Three.js.

Live demo: kylegough.github.io/solar-system

How to explore

  • Use the orbit nav to jump between the Sun, planets, and major moons.
  • Labels shows or hides points of interest. Trails shows or hides orbit paths. Spin rides the focused body's rotation. Controls opens simulation settings.
  • The info panel shows a short description and stats for the focused body.
  • Link to a body with a hash in the URL, for example #mars.

Capabilities

  • The Sun, Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune, plus major moons
  • Rings, orbit trails, and a bloom effect on the Sun
  • Points of interest on some bodies
  • Night lights on Earth
  • HUD facts for the focused body

Setup

This project requires Node.js 24 or later. If you use nvm, run nvm use to pick up the version in .nvmrc.

npm install
npm run dev

Screenshots

Mars Earth Moon Neptune Saturn

Credits

About

Solar system model in Three.js

Topics

Resources

Stars

25 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages