4 points · by logicziller · 2y ago · 11 comments
Rather than doing it from scratch, I was thinking maybe some library already exists for this but I'm not sure what this is called, so I'm not able to find anything relevant. I am not looking for a STL renderer or some WebGL thing but just some JavaScript trickery.
https://projects.markkellogg.org/threejs/demo_gaussian_splat...
If it's real 3d, the Sketchfab viewer is nice indeed. Might not be photorealistic but close enough. There's also https://www.npmjs.com/package/@google/model-viewer
There's probably a ton of libs for either approach, just try a few and pick the best one for your use case.
You can also tie it into scroll state and a narrative, like https://www.scanofthemonth.com/scans/coffee
Good luck.