Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/marching-simplex-table
Constructs the table entries for the marching simplex method
https://github.com/mikolalysenko/marching-simplex-table
Last synced: about 2 months ago
JSON representation
Constructs the table entries for the marching simplex method
- Host: GitHub
- URL: https://github.com/mikolalysenko/marching-simplex-table
- Owner: mikolalysenko
- License: mit
- Created: 2014-11-22T04:42:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-22T04:45:38.000Z (about 10 years ago)
- Last Synced: 2024-10-20T14:27:28.851Z (2 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```javascript
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