Skip to content
项目

关于

A beautiful 3D Earth 🌏

其他项目

这些数字如何统计

可以做什么

  • star background
  • earth roate and zoom animate

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README-ZH.md

原文

Language: English | 中文简体

axios mapper

npm Types License

3d-earth 是一个漂亮的,基于threejs 的组件。

效果展示:

3d-earth

Install

  npm install 3d-earth

or

  yarn add 3d-earth

Features

  • 星空背景
  • 云层
  • 城市位置涟漪
  • 光晕
  • 世界地图边界
  • 飞线效果
  • 地球自转动画
  • 自动缩放中国动画

Usage

已打包esm 文件,如有其他需求自行打包。支持vue/react/html 简单嵌入

 

config

   //地球是否旋转
  autoRotate: boolean;
  //是否缩放到中国,之后再放大动画
  zoomChina: boolean;
  //是否显示星空背景
  starBackground: boolean

Dependency

  • ThreeJS
  • TweenJS

License

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

探索相关项目

加载中…