@zhengyuzi/gltf-viewer
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-rc.9 • Public • Published

@zhengyuzi/gltf-viewer

A simple/fast gltf 3D model viewer based on three.js

Installing

# install peer dependency
npm install three camera-controls
# install package
npm install @zhengyuzi/gltf-viewer

Usage

import GltfViewer from '@zhengyuzi/gltf-viewer'

const ViewerApp = new GltfViewer()

ViewerApp.mount(HTMLElement)

ViewerApp.load('/test.glb')

Package Sidebar

Install

npm i @zhengyuzi/gltf-viewer

Weekly Downloads

0

Version

0.0.1-rc.9

License

MIT

Unpacked Size

481 kB

Total Files

6

Last publish

Collaborators

  • zhengyuzi