Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dp-software/point-cloud

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dp-software/point-cloud

The library helps read big point cloud files in the browser as a stream. Perfect solution for rendering Leica 3d scans in a browser without processing them on the backend.

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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);
});

Keywords

FAQs

Package last updated on 29 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc