one-file Gaussian Splat rendering, using WebGPU (WIP)
On Chrome 113+, you need to enable the chrome://flags/#enable-webgpu-developer-features !!


This WebGPU implementation uses a compute-shader to extract the splats' parameters (position, axis, color) once for all.
The vertex shader generates a quad as triangle-strip.
The fragment shader has several 'visu' functions, other than the expected 'gaussian'. Try 'cone', it looks good too!
The exact depth-sort is done on CPU at regular intervals (it's a web-worker), while the GPU is doing an incremental insertion-sort [WIP!] to keep the splats approximately sorted while the CPU is working for real.