Skip to content
An Augmented reality experience to explore planets in our Solar System
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Design Add clock icon sketch Apr 4, 2019
SolarSystem.xcodeproj Remove legacy collection view controller Apr 4, 2019
SolarSystem Remove the ARKit scene from storyboard Apr 4, 2019
fastlane Don't do the html preview Apr 4, 2019
.gitignore Add Carthage/ to .gitignore Aug 25, 2017
Cartfile Attempt to remove about view from storyboard. Ran into odd performanc… Feb 13, 2019
Cartfile.resolved Make the UI more consistent with the white corner view and animation … Apr 3, 2019
EarthOffset.png Update documentation to describe planetoid Jul 31, 2017
Gemfile Add fastlane to project Apr 4, 2019
Gemfile.lock Add fastlane to project Apr 4, 2019
OnFloor.png Update README to show what this can do Jul 7, 2017
SceneKit.png Update README to show what this can do Jul 7, 2017
UpClose.png Update README to show what this can do Jul 7, 2017


Now accepting beta testers. Sign up here

Augmented Reality Solar System

This is a fun toy app which explores the capabilities of ARKit. The heavy lifting is done by SceneKit but the possibilities for exploring the world(s) are endless and exciting.

The app can be run either in ARKit with the SolarSystem target and requires the user to find an ARAnchorPlane:

Solar System on the floor

It can also be run in a SceneKit View with a black background using the SolarSystemScene target:

Solar System on a SCNView

The ARKit is much more interactive, while the SCNView is much more debuggable.


The main data type, called a Planet describes the properties of each of the planets in the solar system. This includes the name, the planet's radius, axialTilt, orbitalRadius, orbitalPeriod and rotationDuration. There are static initializers for each of the planets for convenience. A Planet implements Equatable for easy identification of planet objects in collections.

This app relies heavily on SceneKit. Within the main scene, either in SceneKit or ARKit, all planets (including the sun) are added to the scene with a given position. The x value of the position ultimately defines the distance the planet is from the Sun. As such, manipulating this parameter allows us to describe a scale version of the Solar System where each Planet describes the distance from the Sun. See image below:


Earth Layers were found on Blender Guru and they look pretty slick up close.

Up Close

You can’t perform that action at this time.