Bitruvius SDK Examples

Runnable, editable examples for the Bitruvius SDK. Pick an example, tweak the code, hit Run — the preview updates instantly, right in your browser.

Image Codecs

Zero-build, per-package codec examples — 2D image/raster formats.

3D Data Codecs

Zero-build, per-package codec examples — point clouds and Gaussian splats.

BVC

Zero-build examples that load the SDK straight from cdn.bitruvius.com.

TurboSPZ

Zero-build examples that load the SDK straight from cdn.bitruvius.com.

MapLibre SDK

Bundler-style examples — bare imports, package.json, Vite. Run them here or clone and `bun run dev`.

3D Tiles

Cesium's 3D Tiles — now an OGC community standard — streamed into MapLibre. Bundler-style examples — bare imports, package.json, Vite. Run them here or clone and `bun run dev`.

I3S (Indexed 3D Scene)

Esri I3S scene layers streamed into MapLibre. Bundler-style examples — bare imports, package.json, Vite. Run them here or clone and `bun run dev`.

Bitruvius

Standalone captures — BVC, SPZ and LEPCC — placed on the map at a lng/lat, one file per layer. Bundler-style examples — bare imports, package.json, Vite. Run them here or clone and `bun run dev`.

Masking

Cutting geometry away with clipping planes — masking one layer so another can occupy its footprint.

Elevation

Terrain surfaces streamed from elevation services and decoded by Bitruvius codecs.

Unified Layers

Many services driven as one cohesive layer — a whole campus, a whole city — with the widgets over the top.

Widgets

Drop-in maplibregl.IControl panels from @bitruvius/sdk-maplibre, shown over streamed 3D content.