Earth Cosmos

WebOnline

3D Earth in the browser: NASA textures, city lights, the Sun.

  • Three.js
  • GLSL
  • WebGL
Earth Cosmos: photoreal Earth, the Sun and space in the browser

Task

A real-time Earth in the browser, with no video or editing.

What I did

Three.js and GLSL shaders: day/night cycle, city lights, ocean sun glint with waves, atmospheric scattering, ESO Milky Way.

Result

Live on Vercel, with a camera that orbits the planet.

Key features

  • Day and night cycle with city lights
  • Ocean glints with waves and atmospheric scattering
  • NASA Blue Marble textures and the ESO Milky Way
  • Drag to rotate, zoom with the wheel or arrow keys
  • A clear message instead of a blank screen when WebGL is unavailable

Related services

Need a similar project?

Discuss your project

The next idea is yours.

What would you like to build, and who is it for? Send a short message. We’ll work out the solution together.

Website · Telegram bot · Mobile app