Giter VIP home page Giter VIP logo

3d-earth's Introduction

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.

3d-earth's People

Contributors

rainmango avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

3d-earth's Issues

build error

[webpack-cli] Failed to load 'D:\temp\3DEARTH\3d-earth-main2\webpack.config.js' config
[webpack-cli] Error: Cannot find module 'ajv/dist/compile/codegen'
Require stack:

  • D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\definitions\typeof.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\keywords\typeof.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\keywords\index.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\index.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\schema-utils\dist\validate.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\schema-utils\dist\index.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\mini-css-extract-plugin\dist\index.js
  • D:\temp\3DEARTH\3d-earth-main2\webpack.config.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack-cli\lib\webpack-cli.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack-cli\lib\bootstrap.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack-cli\bin\cli.js
  • D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack\bin\webpack.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object. (D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\definitions\typeof.js:3:19)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\definitions\typeof.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\keywords\typeof.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\keywords\index.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\ajv-keywords\dist\index.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\schema-utils\dist\validate.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\schema-utils\dist\index.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\mini-css-extract-plugin\dist\index.js',
    'D:\temp\3DEARTH\3d-earth-main2\webpack.config.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack-cli\lib\webpack-cli.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack-cli\lib\bootstrap.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack-cli\bin\cli.js',
    'D:\temp\3DEARTH\3d-earth-main2\node_modules\webpack\bin\webpack.js'
    ]
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 2
    npm ERR! [email protected] build: webpack --mode=production --node-env=production
    npm ERR! Exit status 2
    npm ERR!
    npm ERR! Failed at the [email protected] build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\wing\AppData\Roaming\npm-cache_logs\2022-04-10T09_20_15_573Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.