
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
gl-error3d
Advanced tools
Draws error bars around data points
var createScene = require('gl-plot3d')
var createScatter = require('gl-scatter3d')
var createErrorBars = require('gl-error3d')
var points = [ [0,0,0], [1,1,1], [-1, 2, -3] ]
var errors = [
[[-0.5,-0.5,-0.5],[0.5,0.5,0.5]],
[[-0.1,-1,-2],[0,0,0]],
[[-0.1,-0.1,-0.1],[0.1,0.1,0.1]]
]
var scene = createScene()
var scatter = createScatter({
gl: scene.gl,
position: points,
size: 20,
orthographic: true,
lineColor: [0,0,0],
color: [0.7,0.8,0.4],
lineWidth: 1
})
scene.add(scatter)
var errorBars = createErrorBars({
gl: scene.gl,
position: points,
error: errors,
color: [0.9, 0.3, 0.3]
})
scene.add(errorBars)
var errorBars = require('gl-error3d')(options)Creates a new error bar object.
gl is a WebGL contextposition is the position of each point in the ploterror is an array of error bounds represented as [lo,hi] for each pointcolor a length 3 array of arrays giving the color of the error bars along each axis.lineWidth is the width of the error bar lines in pixelscapSize is the size of the cap for error barsclipBounds is a box to which all error bars will be clippedReturns A new error bar object
errorBars.update(options)Updates the error bar object
errorBars.dispose()Destroy the error bars and release all associated resources
(c) 2014-2015 Mikola Lysenko. MIT License
FAQs
Draws error bars around points
The npm package gl-error3d receives a total of 7,081 weekly downloads. As such, gl-error3d popularity was classified as popular.
We found that gl-error3d demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 19 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.