0.1.3 • Published 9 months ago

@dp-software/point-cloud v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

point-cloud

The library reads big point clouds in the browser as a stream without allocating too much memory. In addition, it allows loading point clouds bigger than 512MB. You can specify a voxel size to which the point cloud will be reduced.

Usage:

/**
 * Initialize a point cloud parser and specify a size of voxel
 * Only 1 point per voxel will be read
 */
const ptsParser = new PTSParser(0.05);

/**
 * Subscribe on reading points
 * If you have huge point cloud files, browser will limit the reading buffer.
 * In this case points will be delivered in the next onNewPoints tick.
 */
parser.onNewPoints.subscribe(data => {
    points = points.concat(data.points);
});
0.1.2

9 months ago

0.1.3

9 months ago

0.1.0

1 year ago

0.0.3

1 year ago

0.1.1

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.2

2 years ago

0.0.1

2 years ago