
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
gl-select-static
Advanced tools
A variation of gl-select which is designed for non-animated scenes
npm install gl-select-static
var createSelectBuffer = require("gl-select-static")
var select = createSelectBuffer(gl, shape)Creates a select buffer with the given shape
select.begin()Begins a selection rendering pass.
select.end()Finishes the selection pass.
select.query(x,y,radius)Queries the selection buffer for all points within radius.
x is the x coordinate of the query pointy is the y coordinate of the query pointradius is the radius of the selectionReturns A SelectResult with the same contents as in gl-select
select.dispose()Destroys the selection buffer and releases all associated resources
select.shapeUpdates or retrieves the shape of the selection buffer.
(c) 2014 Mikola Lysenko. MIT License
FAQs
Static point picking/selection routine
The npm package gl-select-static receives a total of 22,763 weekly downloads. As such, gl-select-static popularity was classified as popular.
We found that gl-select-static demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.