.yarn-metadata.json 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "manifest": {
  3. "name": "alpha-complex",
  4. "version": "1.0.0",
  5. "description": "Computes the alpha complex of a point set in any dimension",
  6. "main": "alpha.js",
  7. "dependencies": {
  8. "circumradius": "^1.0.0",
  9. "delaunay-triangulate": "^1.1.6"
  10. },
  11. "devDependencies": {
  12. "canvas-fit": "^1.2.0",
  13. "planar-graph-to-svg": "^1.0.0",
  14. "simplicial-complex": "^1.0.0",
  15. "mouse-change": "^1.1.1"
  16. },
  17. "scripts": {
  18. "test": "tape test/*.js"
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "https://github.com/mikolalysenko/alpha-complex.git"
  23. },
  24. "keywords": [
  25. "alpha",
  26. "shape",
  27. "complex",
  28. "simplicial",
  29. "complex",
  30. "point",
  31. "surface",
  32. "reconstruction"
  33. ],
  34. "author": {
  35. "name": "Mikola Lysenko"
  36. },
  37. "license": "MIT",
  38. "bugs": {
  39. "url": "https://github.com/mikolalysenko/alpha-complex/issues"
  40. },
  41. "homepage": "https://github.com/mikolalysenko/alpha-complex",
  42. "_registry": "npm",
  43. "_loc": "/home/jovyan/.cache/yarn/v6/npm-alpha-complex-1.0.0-90865870d6b0542ae73c0c131d4ef989669b72d2-integrity/node_modules/alpha-complex/package.json",
  44. "readmeFilename": "README.md",
  45. "readme": "alpha-complex\n=============\n[Alpha shapes](http://en.wikipedia.org/wiki/Alpha_shape) are a generalization of Delaunay triangulations. Given a parameter `alpha` and a point set, they compute a simplicial complex which covers the point set in simplices whose circum radii are less than `1/alpha`.\n\n[To see this in action, try out the demo](https://mikolalysenko.github.io/alpha-complex/index.html)\n\n<img src=\"alpha.png\"></img>\n\n# Example\n\n```javascript\nvar alphaComplex = require('alpha-complex')\n\nvar points = []\nfor(var i=0; i<100; ++i) {\n points.push([Math.random(), Math.random()])\n}\n\nconsole.log(alphaComplex(0.1, points))\n```\n\n# Install\n\nThis module works in node.js/iojs/browserify and supports point sets in any dimension.\n\n```\nnpm i alpha-complex\n```\n\n# API\n\n#### `var cells = require('alpha-complex')(alpha, points)`\nConstructs the alpha complex of the given set of points.\n\n* `alpha` is the curvature of the alpha complex\n* `points` is a list of points encoded as arrays\n\n**Returns** The alpha-complex of the point set.\n\n# License\n(c) 2015 Mikola Lysenko. MIT License",
  46. "licenseText": "\nThe MIT License (MIT)\n\nCopyright (c) 2015 Mikola Lysenko\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  47. },
  48. "artifacts": [],
  49. "remote": {
  50. "resolved": "https://registry.yarnpkg.com/alpha-complex/-/alpha-complex-1.0.0.tgz#90865870d6b0542ae73c0c131d4ef989669b72d2",
  51. "type": "tarball",
  52. "reference": "https://registry.yarnpkg.com/alpha-complex/-/alpha-complex-1.0.0.tgz",
  53. "hash": "90865870d6b0542ae73c0c131d4ef989669b72d2",
  54. "integrity": "sha1-kIZYcNawVCrnPAwTHU75iWabctI=",
  55. "registry": "npm",
  56. "packageName": "alpha-complex",
  57. "cacheIntegrity": "sha512-rhsjKfc9tMF5QZc0NhKz/zFzMu2rvHxCP/PyJtEmMkV7M848YjIoQGDlNGp+vTqxXjA8wAY2OxgR1K54C2Awkg== sha1-kIZYcNawVCrnPAwTHU75iWabctI="
  58. },
  59. "registry": "npm",
  60. "hash": "90865870d6b0542ae73c0c131d4ef989669b72d2"
  61. }