@ttws/boardspace
v0.15.4
Published
threejs tabletop
Downloads
128
Readme
ThreeBoard for Boardcode
threejs react renderer for Boardcode tabletops
Staging
Uses the react-three-fiber
ecosystem.
Renders lighting with simple matcap materials.
Uses contact shadows for staging and avoids shadows.
Uses MapControls for navigation.
There is a modal tool bar for tapping interactions.
Content Loading
Can be used as a library, with content configs supplied via props.
Can also be used as a page, with content configs supplied via a yaml file in the url params.
In production we should host yaml & images & gltfs on cdn and load it from there.
Editing
An editor session consists of a preview panel and a yaml editor panel. Preview panel loads the source into an iframe of Boardspace instance. Yaml editor panel loads/saves against a webdav server.