/3d-earth

🌏🌎🌍 3D Earth with Mapbox GL, D3.js and Three.js

Primary LanguageHTML

3D Earth with Mapbox GL, D3.js and Three.js

My noob attempt to create a 3D earth out of Mapbox GL (vector) tiles, using a little of D3 and Three.js.

Note that I'm still figuring out how these WebGL/Canvas/3D/performance thing. Contributions and pull requests are welcomed!

Tweets:

Getting started

  1. git clone this repository
  2. npx serve to load a local server

Todos (Contributions welcomed!)

  • Replace A-frame with ThreeJS?
  • Fix the weird equirectangular dimension (actually not weird)
  • Better performance with the raster reprojection
  • Less CPU usage

Credits

Cloud image from http://xplanetclouds.com/free/.

Resources