mago-cesium-tools
v0.1.22
Published
mago-cesium-tools description
Downloads
170
Readme
🛠️ mago-cesium-tools
Overview
mago-cesium-tools is a collection of tools based on CesiumJS.
It encapsulates some of the features of CesiumJS to make it easier to use,
It includes various rendering features such as WaterSimulation, SSAO, Edge, and more.
Description
vite project
language : vanilla js
Dependencies
- vite
- vite-plugin-cesium
- cesium
- jsdom
Getting Started
Installation
add mago-cesium-tools to your project
npm i mago-cesium-toolsor with yarn
yarn add mago-cesium-toolsUsage
import {Viewer} from 'cesium';
import {MagoViewer} from 'mago-cesium-tools'
const viewer = new Viewer('cesiumContainer');
const magoViewer = new MagoViewer(viewer);
magoViewer.test();Development
Install
install dependencies for development
npm installStart
start dev server at localhost:5173
npm run startBuild
build project, output to dist directory
npm run buildDocumentation
https://gaia3d.github.io/mago-cesium-tools/
License
Mozilla Public License Version 2.0
