Language: [English](README.md) | [中文简体](README-ZH.md)
3D Earth is a beautiful component of earth flying line based on threejs
look:

## Install
```shell
npm install 3d-earth
```
or
```shell
yarn add 3d-earth
```
## Features
- [x] star background
- [x] cloud
- [x] city wave
- [x] glow sprite
- [x] world polygon
- [x] flyLine
- [x] earth roate and zoom animate
## Usage
build esm , support html/vue/react you can look at example
config
```js
//earth auto Roate
autoRotate: boolean;
zoomChina: boolean;
starBackground: boolean
```
### Dependency
- ThreeJS
- TweenJS
## License
3d-earth is open-sourced software licensed under the [MIT license](./LICENSE).