1.0.1 • Published 8 years ago
taubin-smooth v1.0.1
taubin-smooth
A pure JavaScript implementation of Taubin's mesh smoothing algorithm.
DEMO
Install
npm i taubin-smoothAPI
require('taubin-smooth')(cells, positions[, options])
Takes a mesh as input, returns the smoothed vertices as output
cellsare the cells of the meshpositionsare the coordinates of the verticesoptionsis an optional object containing any of the following configuration parameters:itersthe number of smoothing iters to run (default10)passBanda scalar between0and1determining the cutoff frequency. (default0.1)
Credits
Development supported by Standard Cyborg
(c) 2017 Mikola Lysenko. MIT License