{"_id":"normals","_rev":"12-2ad794ee185a2bea908e80891db17856","name":"normals","description":"Estimates normals for meshes","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.0":{"name":"normals","version":"0.0.0","description":"Estimates normals for meshes","main":"normals.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/normals.git"},"keywords":["normal","mesh","normals","estimate","3d","geometry"],"author":{"name":"Mikola Lysenko"},"license":"BSD","gitHead":"50f414d8b3cb222d72738ac517b66468e94065d5","_id":"normals@0.0.0","dist":{"shasum":"d46b64cd60902195d679cb6de18d0052c2f4bed5","tarball":"https://registry.npmjs.org/normals/-/normals-0.0.0.tgz","integrity":"sha512-JYs/ObskSeDqQYYbjk2tW+pmyc9n+E/pKBEQNXFxzb4x5dVu8PGBMfp/ElWENGNejXa4aGeUy0hLfGpUwqk8wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkzhcMstAR6Y7X8tT01db+g71IOpAsJRPIMoTAzKvo5AiEAkmoVG2unS0RMc5E8/OqiJWMrNNnf6qlcatYxkToq4bQ="}]},"_from":".","_npmVersion":"1.2.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]},"0.1.0":{"name":"normals","version":"0.1.0","description":"Estimates normals for meshes","main":"normals.js","repository":{"type":"git","url":"git://github.com/mikolalysenko/normals.git"},"keywords":["normal","mesh","normals","estimate","3d","geometry"],"author":{"name":"Mikola Lysenko"},"license":"BSD","gitHead":"50f414d8b3cb222d72738ac517b66468e94065d5","_id":"normals@0.1.0","dist":{"shasum":"72dc9c27ae5eaccb7c27bf8c6ffb08aee6c9c831","tarball":"https://registry.npmjs.org/normals/-/normals-0.1.0.tgz","integrity":"sha512-Zq8QwC1nt/q/LN/g+gpH4y9NWO00ac25GvCoRGgRpHlVNb0XHHf0+Cp7ORU5RCJvvtEcR1/hRML+hf9v7kgv2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBO8JTIAoEsecVyny6iv4WspvkX1vs3dEThq5dpqKSjFAiEAkjliM0qhDswDMeP6ZGlSPc8irRShLhUKCRiL77qQCxo="}]},"_from":".","_npmVersion":"1.2.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]},"1.0.0":{"name":"normals","version":"1.0.0","description":"Estimates normals for meshes","main":"normals.js","repository":{"type":"git","url":"git://github.com/mikolalysenko/normals.git"},"keywords":["normal","mesh","normals","estimate","3d","geometry"],"author":{"name":"Mikola Lysenko"},"license":"BSD","gitHead":"50f414d8b3cb222d72738ac517b66468e94065d5","bugs":{"url":"https://github.com/mikolalysenko/normals/issues"},"homepage":"https://github.com/mikolalysenko/normals","_id":"normals@1.0.0","scripts":{},"_shasum":"a99e2c9235332ac771c8f958d0d68c803770c6b0","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.26","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"dist":{"shasum":"a99e2c9235332ac771c8f958d0d68c803770c6b0","tarball":"https://registry.npmjs.org/normals/-/normals-1.0.0.tgz","integrity":"sha512-CtwsZnsrgOqVmmMa/jPYoiL6Rm60PkxpLSC0gXcjNTI4mKPefIqxqi5ErANiLe7zd7Lz19Rqn4w0JEUnDacZFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBaVl6X+GZMMXtDkaAn01pRtpZ/g/QSE5ElKRPBkWy29AiEApiugDaeYqmZRGSy8Q51K8rurBsGwhN3wFpsJuH1Q8CE="}]}},"1.0.1":{"name":"normals","version":"1.0.1","description":"Estimates normals for meshes","main":"normals.js","repository":{"type":"git","url":"git://github.com/mikolalysenko/normals.git"},"keywords":["normal","mesh","normals","estimate","3d","geometry"],"author":{"name":"Mikola Lysenko"},"license":"BSD","gitHead":"50f414d8b3cb222d72738ac517b66468e94065d5","bugs":{"url":"https://github.com/mikolalysenko/normals/issues"},"homepage":"https://github.com/mikolalysenko/normals","_id":"normals@1.0.1","scripts":{},"_shasum":"5ad90d761d2e82f746b795bdff35e40fc84cc91e","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.26","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"dist":{"shasum":"5ad90d761d2e82f746b795bdff35e40fc84cc91e","tarball":"https://registry.npmjs.org/normals/-/normals-1.0.1.tgz","integrity":"sha512-zl7AJOrtNO1lmaFRtdBMLKynqfGIkVWMyCpvmGDkG3LO0QTVPRJBQTuyXLt/TAmHz9TBQBKn1zFaOrCK7Yc9CQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqHUJsu3siIilDRUoo7AGcnKWI4iSDYFvzT5aj52FlKAIhAJknf2RfKqfeiiAMuYD67Yj0hnc5eJrg3M0iI+ZzgO3X"}]}},"1.1.0":{"name":"normals","version":"1.1.0","description":"Estimates normals for meshes","main":"normals.js","repository":{"type":"git","url":"git://github.com/mikolalysenko/normals.git"},"keywords":["normal","mesh","normals","estimate","3d","geometry"],"author":{"name":"Mikola Lysenko"},"license":"MIT","gitHead":"50f414d8b3cb222d72738ac517b66468e94065d5","bugs":{"url":"https://github.com/mikolalysenko/normals/issues"},"homepage":"https://github.com/mikolalysenko/normals#readme","_id":"normals@1.1.0","scripts":{},"_shasum":"325b595ed34afe467a6c55a14fd9085787ff59c0","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.12.2","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"dist":{"shasum":"325b595ed34afe467a6c55a14fd9085787ff59c0","tarball":"https://registry.npmjs.org/normals/-/normals-1.1.0.tgz","integrity":"sha512-XWeliW48BLvbVJ+cjQAOE+tA0m1M7Yi1iTPphAS9tBmW1A/c/cOVnEUecPCCMH5lEAihAcG6IRle56ls9k3xug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXaV8A2Ly372hs+D6jZPhreFAjPNvrRH6rr+0lXPl9pAiEA0pU0/ekRQVvpPEaBxG4qKHsfzL5Rq/esxe45SelwvuA="}]},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/normals-1.1.0.tgz_1463783257469_0.6562249104026705"}}},"readme":"normals\n=======\nEstimates normals for surface meshes.\n\nInstallation\n============\nUsing [npm](https://npmjs.org/):\n\n    npm install normals\n    \nExample\n=======\nHere is how to compute the vertex and face normals for the Stanford bunny:\n\n```js\n    var bunny = require(\"bunny\");\n    bunny.vertexNormals = require(\"normals\").vertexNormals(bunny.cells, bunny.positions[,epsilon]);\n    bunny.faceNormals = require(\"normals\").faceNormals(bunny.cells, bunny.positions[,epsilon]);\n```\n\n`require(\"normals\").vertexNormals(cells, positions[,epsilon])`\n----------------------------------------------------\nThis estimates the vertex normals for an oriented mesh.\n\n* `cells` is an array of indexed vertex positions\n* `positions` is an array of vertex positions\n\nReturns: An array of length = `positions.length` of the per-vertex normals.\n\n\n`require(\"normals\").faceNormals(cells, positions[,epsilon])`\n----------------------------------------------------\nThis estimates the face normals for an oriented mesh.\n\n* `cells` is an array of indexed vertex positions\n* `positions` is an array of vertex positions\n\nReturns: An array of length = `cells.length` of the per-face normals.\n\n\nCredits\n=======\n(c) 2013 Mikola Lysenko. BSD\n","maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2022-06-22T05:38:42.107Z","created":"2013-02-06T16:32:11.634Z","0.0.0":"2013-02-06T16:32:12.739Z","0.1.0":"2013-02-11T18:30:25.920Z","1.0.0":"2014-11-14T22:40:54.914Z","1.0.1":"2014-11-14T22:41:25.663Z","1.1.0":"2016-05-20T22:27:39.538Z"},"author":{"name":"Mikola Lysenko"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/normals.git"},"homepage":"https://github.com/mikolalysenko/normals#readme","keywords":["normal","mesh","normals","estimate","3d","geometry"],"bugs":{"url":"https://github.com/mikolalysenko/normals/issues"},"license":"MIT","readmeFilename":"README.md"}