Browser-based LAZ/LAS point cloud viewer built with Three.js and loaders.gl.
https://code4fukui.github.io/lasviewer/
- Drag and drop
.lazor.lasfiles into the browser - Render point clouds with Three.js
- Use vertex colors when the source file includes color data
- Limit the maximum number of displayed points to keep large files usable
- Recenter the point cloud automatically after loading
- Navigate with mouse or touch using OrbitControls
- Open
index.htmlor the live demo URL. - Set the maximum point count if needed.
- Drop a
.lazor.lasfile onto the page. - Rotate, pan, and zoom the point cloud in the viewer.
The file is read locally in the browser. The app does not upload the point cloud file to a server.
Serve this directory with a local web server:
liveserverThen open:
http://localhost:8080/
The app imports these libraries from esm.sh:
three@0.164.1@loaders.gl/core@4.3.4@loaders.gl/las@4.3.4
- Very large point clouds can require a large amount of memory.
- The maximum point count controls downsampling for display, not the amount of data read from the file.
- LAZ decompression and LAS parsing happen in the browser, so performance depends on the device and browser.