Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
splat-points
Advanced tools
Splats a sparse set of points into an ndarray using a Dirichlet kernel. If you want some alternative kernel to filter them after the fact, you can apply a convolution to the resulting array as a post process.
var ndarray = require('ndarray')
var splat = require('splat-points')
var zeros = require('zeros')
var show = require('ndarray-show')
var points = ndarray([
0, 0,
80, 50,
0.3, 76,
100, 22.3
], [4,2], [2,1])
var grid = splat(zeros([128, 128]), points)
show(grid)
require('splat-points')(out, points[, weights, radius])
Splats a sparse set of points onto an array using a Dirichlet kernel.
out
is the array which is splatted ontopoints
is an n
-by-d
dimensional ndarray of pointsweights
is an array of weights (either an ndarray or a flat)radius
is the radius of the points to splatReturns out
(c) 2015 Mikola Lysenko. MIT License
FAQs
Splat a sparse set of points onto an ndarray
The npm package splat-points receives a total of 3 weekly downloads. As such, splat-points popularity was classified as not popular.
We found that splat-points demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.