Scale of the Universe: Three.js / WebGL hobby project

Apr 7, 2024

Scale of the Universe is a simple hobby project where I've recreated our solar system to scale using Three.js and WebGL.

The project

Using Three.js allows me to combine my experience with Blender (3D software) and code. As you scroll away from the sun, the planets will slowly start to appear, their size and spin rate proportional to the sun. Using maps and nmaps from NASA, the planets have the correct shape and look.

This project taught me a ton about using WebGL on websites, which I hope I can use to create more awesome websites in the future.

The project can be viewed here.

The code can be found on my GitHub here.