Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

marching-simplex-table

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marching-simplex-table

Construct the table entries for the marching simplex method

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21K
increased by5.69%
Maintainers
1
Weekly downloads
 
Created
Source

marching-simplex-table

Constructs a look up table for the marching simplex isosurface extraction algorithm. The entries of this table correspond to the different topologies that can occur for marching simplices.

Example

var makeTable = require('marching-simplex-table')

console.log(makeTable(2))
console.log(makeTable(3))

Install

npm install marching-simplex-table

API

require('marching-simplex-table')(d)

Constructs the marching simplex table for all simplices of dimension d. The result is a table with 2^(d+1) entries, each corresponding to the (d-1) dimensional cells needed to generate the boundary of the simplex. Each (d-1) cell is coded as an ordered list of edges in the original simplex giving the vertices of the resulting simplex.

  • d is the dimension of the table to generate

Returns A table of simplex topologies

Credits

(c) 2014 Mikola Lysenko. MIT License

Keywords

FAQs

Package last updated on 22 Nov 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc