MicroPasts has released splat-viewer, a React component for displaying 3D Gaussian splats built on Three.js and Spark.
The package is published to npm as @micropasts/splat-viewer and is aimed at cultural heritage, archaeology and scientific inspection. Version 0.1.2 is an early release, tagged on the same day the repository was created. Daniel Pett, listed as the package author, built it as a companion to the MicroPasts glb-model-viewer for meshes, and its paradata drawer, scale bar and telemetry drawer follow the same design.
Rendering runs through SparkJS, and the package depends on Spark 2.4.0, the release that added SPZ v4 reading, or a later 2.x version. Splat-viewer loads ply, spz, splat, ksplat and sog files, plus rad with paged streaming. Files dropped onto the viewer or opened from disk, including zip archives, are read in the browser and never uploaded, though local files always load in full.
The paradata dialog records object metadata, capture and reconstruction details, splat provenance and derived assets. A zebra scale bar with reference object silhouettes appears once a mmPerUnit value sets millimeters per scene unit, since splats are usually trained without real world units. A telemetry drawer reports splat count, file size, format, dimensions, density, spherical harmonics bands and opacity.
Curated camera viewpoints step forward and back with bracket key shortcuts. Render controls cover opacity, spherical harmonics bands from 0 to 3, grid, bounding box, turntable and Iso, Front, Top and Side presets. Share links encode the camera, opacity, SH bands and background color in the URL hash, and exports cover a PNG snapshot and the source asset. Every panel can be switched off with a boolean prop.
React 18 or later is a peer dependency and the viewer needs WebGL 2. SparkJS embeds a WebAssembly build and is around 2.7 MB, so the README recommends lazy loading the viewer.
A live demo loads a scan of a colossal marble foot. Splat-viewer 0.1.2 is available now under the MIT license.




