Checking whether this device can do ARβ¦
| Planet | Size | From Sun | Year |
|---|
Space is mostly empty
If the Sun were a football, Earth would be a tiny seed about 24 big steps away, and Neptune would be over half a kilometre away. Almost everything in the solar system is empty space!
To make a scale model, divide every real size and distance by the same number. The Sun is 109 times wider than Earth, and Earth is about 107 Sun-widths away from it. Those two ratios don't change, whatever size you make the Sun.
The Sun and planets together fill only about 4 Γ 10β12 of a sphere reaching out to Neptune. Scale factor k = model Sun Γ· 1 392 700 km; every length multiplies by k, every area by kΒ² and every volume by kΒ³, so the emptiness is identical at any scale.
Why textbook pictures lie
Most pictures of the solar system squash the gaps and blow up the planets, or you wouldn't see anything. "Fits the room" does the same. Switch to "True scale" to see the real thing.
"Fits the room" uses a different scale for sizes and for distances, and squeezes the outer planets closer. It shows the order of the planets well but gets the gaps wrong. A true-scale model uses one scale for everything.
"Fits the room" places orbits at r β a0.4 and sizes at r β βd. Compressing a quantity with a power below 1 is the same idea as a log scale: it keeps the order but hides the ratios.
Orbits and years
A year is one trip round the Sun. Planets further out have a longer trip and move more slowly, so Neptune's year lasts 165 of ours.
The Sun's gravity gets weaker further away, so outer planets move more slowly as well as having further to go. Mercury travels at about 48 km/s, Earth at 30 km/s and Neptune at only 5 km/s.
Kepler's third law: TΒ² β aΒ³. With T in Earth years and a in AU, TΒ² = aΒ³ for every planet. Check it in the table: Jupiter's a = 5.2 AU gives T = β140.8 β 11.9 years.
How AR knows where your floor is
Your phone uses its camera and motion sensors together to work out where the floor is and how you're moving, so the Sun stays put while you walk around it.
The phone tracks points in the camera image from frame to frame and combines them with the gyroscope and accelerometer. That lets it map flat surfaces and keep track of its own position as you walk.
This is SLAM (simultaneous localisation and mapping). The lab uses WebXR's hit-test: a ray from the phone through the screen centre is intersected with the detected planes, and the hit pose anchors the Sun.