graphics · WebGPU
Stratashipped
A browser-based high-performance point-cloud processor.
25M+ points at 60fps in the browser via WebGPU, with a Rust/WASM LAS parser 20× faster than JS.
context
LiDAR point clouds (.LAS/.LAZ) from surveying run to tens of millions of points and traditionally need heavy desktop software. The goal: bring that workflow to the browser with a viewer fast enough to be useful, not a toy.
the problem
Two hard walls: parsing gigabytes of binary point data without freezing the tab, and rendering 25M+ points at interactive framerates, far past what naive WebGL draw calls can do.
what i built
- WebGPU compute shaders (WGSL) cull and render 25M+ points in real time at 60fps
- A custom binary parser in Rust compiled to WASM streams .LAS/.LAZ 20× faster than JS, using the las/laz-rs crates
- Octree spatial indexing with a virtual chunking system that loads only visible data into VRAM
- Three render modes (RGB, intensity, elevation) switched live via uniforms
- Real-time distance/area/volume measurement via ray-casting, professional floating-panel UI in Svelte
outcome
A blazing point-cloud viewer that runs entirely client-side. Demonstrates the full modern-web-as-platform stack: WebGPU, WASM, and zero-overhead Svelte reactivity holding up under intensive GPU work.
Heavy civil-engineering point-cloud workflows, running entirely in a browser tab at 60fps.