@kalyptos/narcissus
v0.2.3
Published
A WebGPU engine and tools for Guldmund Trees, streamed gaussian-splat scenes
Readme
narcissus
The open library for Guldmund Trees: gaussian-splat scenes of any size, stored as static files and streamed by range request. narcissus holds the format, a WebGPU engine that draws it, a viewer element, and tools to check and publish a world.
Show a world
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@kalyptos/narcissus/dist/element/index.js"
></script>
<narcissus-viewer
src="https://example.com/world/world.json"
style="height: 100vh"
></narcissus-viewer>Or with a bundler:
npm install @kalyptos/narcissusimport { createEngine, Controls } from '@kalyptos/narcissus';Check and publish a world
npx @kalyptos/narcissus validate ./world --deep
npx @kalyptos/narcissus info ./world
npx @kalyptos/narcissus export ./world -o level3.ply --level 3
npx @kalyptos/narcissus publish ./world remote:bucket/worldRead more
- docs/format.md: the specification of Guldmund Trees
- docs/hosting.md: how to serve, publish and show a world
- docs/embedding.md: the hooks for a page that embeds the viewer: layers, masks, picking, graphics and the camera
- docs/architecture.md: how the code is built, and how to add a source or a plugin
- CONTRIBUTING.md
