All examples By author By category About

bryik

Planetary Scaling (Linear vs Log)

Click the screen to switch between log and linear scales.

Comparing the sizes of planets in our Solar System is difficult because of the difference in magnitude between the smallest (Mercury, radius 2439.7 km) and the largest (Jupiter, radius 71,492 km). Linear scaling tends to compress small and similar values concealing differences in relative size. If I wanted to add the Sun (radius 695,700 km) or stars (e.g. VY Canis Majoris, radius 1.6 billion km) the situation would be even worse.

Logarithmic scales are a nice alternative to linear scales as they preserve relative differences (with linear scaling, Mercury and Mars appear nearly the same size as Venus and Earth). However, one might say they reduce appreciation for the great gulf in size between giants like Jupiter and our relatively tiny Earth.

Notes

It may take a couple seconds for textures to appear. If performance is bad, try this stripped down version.

Initially, I transitioned radius directly but this is generally a bad idea because a new sphere geometry is created each time. Better performance can be had by using the scale property to encode radius (scaling is cheap).

References

Star and planet radius data collected from Wolfram Alpha.

Planetary textures downloaded from Celestia Motherlode.