Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
gl-pointcloud2d
Advanced tools
WebGL 2D point cloud for lots of points
... to be created
Using npm, you can install this module as follows:
npm i gl-pointcloud2d
var pointcloud = require('gl-pointcloud2d')(plot, options)
Creates a new 2D point cloud.
plot
is a reference to a gl-plot2d
objectoptions
is a JSON object containing the parameters which are passed to the object when it is updated.options
has the following properties:
data
is a packed 2*n length array of the unrolled xy coordinates of the points (required) - buffering is significantly faster if it's of type Float32ArrayidToIndex
is an optional array of length n where idToIndex[i] = i
- buffering is significantly faster if it's supplied and of type Int32Arraycolor
is the color of a marker as a length 4 RGBA array (default [1,0,0,1]
)borderSize
is the ratio of the border around each point (default 0
)borderColor
is the color of the border of each point (default [0,0,0,1]
)blend
determines if gl
blending is enabled for a translucency effect on overlaps; enabling it lowers draw speed somewhat (default false
)Returns A new point cloud plot object, which is also registered to plot
pointcloud.update(options)
Updates the point cloud plot.
options
is an object with the same properties as in the point cloud plot constructorpointcloud.dispose()
Destroys the point cloud plot and all associated resources.
(c) 2015 Mikola Lysenko. MIT License
Development supported by plot.ly
FAQs
2D WebGL point cloud plots
The npm package gl-pointcloud2d receives a total of 11,686 weekly downloads. As such, gl-pointcloud2d popularity was classified as popular.
We found that gl-pointcloud2d demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.