Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/mesh-mean-curvature
Computes an estimate of the mean curvature of a mesh at each vertex
https://github.com/mikolalysenko/mesh-mean-curvature
Last synced: about 2 months ago
JSON representation
Computes an estimate of the mean curvature of a mesh at each vertex
- Host: GitHub
- URL: https://github.com/mikolalysenko/mesh-mean-curvature
- Owner: mikolalysenko
- License: mit
- Created: 2015-11-15T18:23:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-14T00:07:29.000Z (over 8 years ago)
- Last Synced: 2024-10-20T14:26:16.847Z (2 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mesh-mean-curvature
===================
Computes an approximation of the mean curvature of a mesh at each vertex.## Install
```
npm i mesh-mean-curvature
```## Example
```javascript
var bunny = require('bunny')
var curvature = require('mesh-mean-curvature')(bunny.cells, bunny.positions)```
## API
#### `require('mesh-mean-curvature')(cells, positions)`
Computes an approximation of the mean curvature of a mesh* `cells` are the cells of the mesh
* `positions` are the positions of the vertices of the mesh**Returns** An array of per-vertex mean curvature values
## License
(c) 2015 Mikola Lysenko. MIT License