1.0.3 • Published 5 years ago

@tarii/3d-earth v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

3D Earth Banner

A webgl animation instance library.

demo

How to Start

install by npm:

$ npm install @tarii/3d-earth --save

use

import Earth from '@tarii/3d-earth'

const parent = document.querySelector('#box')
const earth = new Earth({
  parent,
  coords: [29.458349, 106.396826]
})

earth.start()

For more information on input parameters, please refer to src/index.d.ts.