Skip to content

perryrh0dan/web-globe

Repository files navigation

Web Globe

Preview

Demo

https://globe.tpoe.dev

Usage

Import the script

<script type="module" src="./dist/web-globe.js"></script>

And use the web-globe component

<web-globe arcSpeed="2" rotateSpeed="1"></web-globe>

Setup

Install dependencies:

npm i

Build

This sample uses the TypeScript compiler to produce JavaScript that runs in modern browsers.

To build the JavaScript version of your component:

npm run build

To watch files and rebuild when the files are modified, run the following command in a separate shell:

npm run build:watch

To create the production build run:

npm run build:prod

Team

License

MIT

About

globe web component build with three.js and lit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages