/3d-earth

A beautiful 3D Earth 🌏

Primary LanguageTypeScript

Language: English | 中文简体

axios mapper

npm Types License

3D Earth is a beautiful component of earth flying line based on threejs

look:

3d-earth

Install

  npm install 3d-earth

or

  yarn add 3d-earth

Features

  • star background
  • cloud
  • city wave
  • glow sprite
  • world polygon
  • flyLine
  • earth roate and zoom animate

Usage

build esm , support html/vue/react you can look at example

 

config

  //earth auto Roate
  autoRotate: boolean;
  zoomChina: boolean;
  starBackground: boolean

Dependency

  • ThreeJS
  • TweenJS

License

3d-earth is open-sourced software licensed under the MIT license.