Possible enhancements

Can you think of other enhancements to this project? Here are a few you could consider and try to implement:

  • Add rings to Saturn. (A cheap way to implement might be a plane with transparency.)
  • Improve goToPlanet so that your camera position animates between positions.
  • Add controls to allow you to change the perspective or fly freely through space.
  • Add a top-down view option, for a "traditional" picture of the Solar System. (Be aware of float precision issues at scale.)
  • Add moons to each of the other planets. (This can be implemented just like we did for the Earth's moon, with its mother planet as its origin.)
  • Represent the asteroid belt between Mars and Jupiter.
  • Add tilt and wobble to the other planets. Did you know that Uranus ...

Get Cardboard VR Projects for Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.