huggingface/gsplat.js
JavaScript Gaussian Splatting library.
What it solves
It provides a simple way to render 3D Gaussian Splatting data in web browsers, offering a general-purpose library similar to how three.js works for traditional 3D graphics.
How it works
The library uses WebGL to render 3D Gaussian Splats. It provides a set of components—including a Scene, Camera, WebGLRenderer, and OrbitControls—to load and display 3D data. It supports loading .ply files and a more compact .splat format for faster loading times.
Who it’s for
Web developers who want to integrate high-quality 3D Gaussian Splatting visualizations into their websites or applications without needing to build a rendering engine from scratch.
Highlights
- Easy Setup: Quick start via NPM and compatibility with ES6 modules and bundlers like Vite.
- Flexible Data Formats: Supports both standard
.plyfiles and optimized.splatfiles. - Conversion Tools: Includes examples for converting between
.plyand.splatformats. - Real-time Interaction: Includes orbit controls for navigating 3D scenes.
Related
- Project
- Project
- Project
- Project