Example particle simulation with point clouds using WebGL2 shaders and three.js.
See the Live demo.
The point cloud data was generated from a drone video (https://www.youtube.com/watch?v=yiNJTDxF8FY) of the Temple of Poseidon.
The video was clipped and spliced into images via ffmpeg, then fed into colmap to generate the point cloud model.
Download the git repository:
git clone https://github.com/rosszm/webgl-point-cloud.git
cd webgl-point-cloudInstall Node dependencies (Yarn):
yarnRun the Vite dev server (Yarn):
yarn devThis will print the address of the server, which defaults to localhost:3000.
Here is a list of references I found helpful for this project: