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.
simplicial-layout
Advanced tools
Code for drawing simplicial complexes in arbitrary dimensions. Basically a generalized version of graph drawing for meshes and tetrahedra which works in 2D, 3D, and higher dimensions.
First install the library like this:
npm install simplicial-layout
Then you can create a graph layout as follows:
var MeshLayout = require("simplicial-layout")
var l = new MeshLayout([[0, 1, 2], [2, 3], [3,4,5]], 2)
l.solve()
console.log(l.positions)
var MeshLayout = require("simplicial-layout")(cells[, dimension, options])
cells
- A simplicial complexdimension
- The dimension of the space to embed the complex in (default 2)options
- Extra options for the layout. Currently supports the following:
radius
- Radius for each edge. Default 2layout.step(dt)
Steps the mesh solver a finite amount
layout.solve()
Solves the mesh layout completely
layout.positions
Positions of the vertices
(c) 2013 Mikola Lysenko. BSD
FAQs
Code for drawing simplicial complexes in arbitrary dimensions.
The npm package simplicial-layout receives a total of 0 weekly downloads. As such, simplicial-layout popularity was classified as not popular.
We found that simplicial-layout 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.