Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 491 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 491 Bytes

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.