{"_id":"three.meshline","_rev":"14-7d32e4110a315b1f10427da5a535befb","name":"three.meshline","description":"Mesh replacement for THREE.Line","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"three.meshline","version":"1.0.0","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"6d9a73777440116c358ef9ca606f60d4c781730b","_id":"three.meshline@1.0.0","_shasum":"e849efef39b389f2cd1ae5b6dcc839095b71bae9","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"dist":{"shasum":"e849efef39b389f2cd1ae5b6dcc839095b71bae9","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.0.tgz","integrity":"sha512-/AFAhNGh8DkNQs5ufoO9QGrOgv81gvH8UpRvyfWPmYvioTVhgdmOYlMEA05azje2omyM4bCOjUHMTWQT5qCCfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAn19nCcA1XltFJ/DwjgS6cfPH6VOOPzywOi2sgkQHcAiEApiLRZIVXj6ARWy+dN33i6X1Zi3/sRHectFNg5zrwYmI="}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/three.meshline-1.0.0.tgz_1481497002802_0.9077594878617674"},"directories":{}},"1.0.1":{"name":"three.meshline","version":"1.0.1","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"206291d0f0e52d0159e0aac2b60deb4808985aa2","_id":"three.meshline@1.0.1","_shasum":"06e5df1436664c445ec325e0bf27e74087723143","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"dist":{"shasum":"06e5df1436664c445ec325e0bf27e74087723143","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.1.tgz","integrity":"sha512-9WqBe6Y5EI3N5dqLXDIZuYsW0eRJCZq9TV58qimcph60NA3gh69EsvLyolaiZn2sspU4tUd2Poj5CqTRCFQdCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKdE/YTXkYu4Bbep4frEHlqMMW5L0VFjKAfYlGXFVMmQIhAPT18FemBEqM6FIucT+UWqpkFsmIIcm4rxi+v7nA3uiZ"}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/three.meshline-1.0.1.tgz_1483148371722_0.6783235804177821"},"directories":{}},"1.0.2":{"name":"three.meshline","version":"1.0.2","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"872a3c9a219d0a20b8cdf9600e68377355709de9","_id":"three.meshline@1.0.2","_shasum":"625a75ff5e459f550e5318dfc8ba320e6b8719a7","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"dist":{"shasum":"625a75ff5e459f550e5318dfc8ba320e6b8719a7","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.2.tgz","integrity":"sha512-RwsR3On8YP3rPIaNbihGWykx3Sa6sW0l8y4pOr8LdZLRtl55h2j+vXaouY3NmUnJrlxVK/YAFq/p476qYt9cNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/mhJgegyYbfmM/AlyzAzbl8n8Ls4w9fTFClVNcROSPwIgOs9a8WRDRb5bPFatU5LYHlQRtCv8PAA/lX3cDJlUJAo="}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/three.meshline-1.0.2.tgz_1485730193601_0.5456841920968145"},"directories":{}},"1.0.3":{"name":"three.meshline","version":"1.0.3","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"c2e28a027b48188ff3fd059953ca97016dcad511","_id":"three.meshline@1.0.3","_shasum":"85e9190d9de16bbdcffcc083746c3ea82be15a9b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"dist":{"shasum":"85e9190d9de16bbdcffcc083746c3ea82be15a9b","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.3.tgz","integrity":"sha512-NoxXYdzfqYYLfhWvwFOlWtfwJDnDGAjy+YwBqJzuTogkap/zCntVwTIawc5NraQR7p15Nl8/EizJXP0YzZOn5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDLUIJk2wU+rT1jk0xsIQBqvwlUsxQhvMvEBGpWbKdVQIgEQsXLLLStEt0y0WbL/ANlu8XjkluFrgiOZLTm22+YMY="}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/three.meshline-1.0.3.tgz_1485730242922_0.33020045165903866"},"directories":{}},"1.1.0":{"name":"three.meshline","version":"1.1.0","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"d15d05c93d45477245bb004ec0bedd9cbd17c181","_id":"three.meshline@1.1.0","_npmVersion":"6.0.0","_nodeVersion":"9.7.1","_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"dist":{"integrity":"sha512-YJmFMKP9udGMCNIxx6ntTu6qMti3y2a8w/Z2Ado/n8N837YAqm5kkJX55E8jGRyc0IWahlRkO+B2i+XXZluVGw==","shasum":"cf66be97b239a044d9d80b8bbf63673eb4dc09fc","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.1.0.tgz","fileCount":4,"unpackedSize":22000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6jtmCRA9TVsSAnZWagAA6u4P/jzEHclpj5yYY9TrMWPJ\nsdVABoMtD1VFCfzq5kAm/FRym97rzhULnu3hWucQ6MsHv+ptHxmU9QPQ1GAH\nO0N+3ZxJ1cxlWEUsSPWRPfgoZ1h9+PmOehbi00p1gcdKizVmApq6tp8Yhoev\nAUobP1z6PUcQ55+nZpEPbVt4jwkQRaXM5ZQmnexNZVtHrqVFzsRPuiOhz1sH\n3FiD89RxGBEzGk6xTAw8Nh18La61SFjRtuGtk8WwGgZQ0QwQ2lWxkhvPaS7t\nk874t4XoKOadwcT7Hy63pjfGuUAEoWmeeA9mJaKij43wx3cx5U4MgDL2Je6N\n8c090jUF3EdGT0JLHJjWOuseH5mOPpDeN7kTMrqPkyEMVk9V8qb5BzMe1n2+\nYqY4jRyLDkxSMO+BU6hVAo4jd307UElFrLa7GkB3bQWN4NDVvmr6H2wcEjkr\n/LM2VYF7/PPEjUDY9EpdQe417AyRzuy06fehpTn3TLgzFG7/4JJksY0Xw/rR\nDRnutlhUnbByMXUr47AiPoT2qbN6s1f7FAOpPw2vxtgObZ5LiYTgwjQYsb0c\nRaX5W7N223duXdJ/DE7rCDnKlrMhXfYgma1DzKcxXvr+8+PcI3cVbVUUlJTY\ndAIdMA2LCrRBsbjUh7aQhaTbvJDR8aPE761ZQ60NFGrhmkbkxmxzkFKnjGIj\ntiZS\r\n=ahz1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1PPo7D44RhaVq7YJlKiQ1dgYmnJoA8ZkdoK0z0jj9bAiBJ4QtoPoPIWLF0jeJ2R1hn1EAr0ToSd8l2NKCCzEADIA=="}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.meshline_1.1.0_1525300068980_0.8846554746801714"},"_hasShrinkwrap":false},"1.2.0":{"name":"three.meshline","version":"1.2.0","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"565dc97b36c742120936555c3b0eeb9653202e03","_id":"three.meshline@1.2.0","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"dist":{"integrity":"sha512-E7s9xwgjUhQWIvXBMIdCOIvpT1qV9UlntzaaJTWzJvYtvI2ZvVsX8EM8FxoiG5aptXuKbp5osnvcJCCkYOjmBA==","shasum":"89a0c9d67d8062e5649dc0ac9aa16f14e7c199b5","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.2.0.tgz","fileCount":4,"unpackedSize":28136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT3NACRA9TVsSAnZWagAAgxsP/3uf0CQqGmwzMQF28Xhk\n3wqowoAZaKzqHCwW0SYanLLYstOPXjTJGMY4DoUrPWIvVFPO/wrIOSIjUUqe\nKgmQawJXMvIQ38wzV3GPhIp+SkE6EFSVTnZuhHJGWW0jsvCiLSMaLjs/T9pQ\nfqvM0EJ4UChBvEFtV2FLWkx/QA7tvrsuac7Z6RlTRk/XvbHGfEEmw3PCb1UQ\npRmhlUXaOOWIsaXuJfWQT1OeoC9jA50B2t+cWH7sgJOybDT2V93mWWj2/4bk\n5mLYFAcSci+RGjy5BTrV6QZ5ycqD0vS/Ttcea/fVUYz5ERAAgPxqBmLlNwUL\nznLaHFwD/QIxx9qatT5MKm8RzGQmMZgJmDiAVcz00WTIob4Wr7sXrxopll9/\nKRYLA284Y9hk3snAFZzf/heHA1jnZHSEsGHOP8bdW+q/nT+/20vws0HO4wJW\n2ebB7pJ0pe9Wzf4F9aKDAiOZ5qG3X1pKDLEkll8usEkhODEz2PeuASGhUFbF\neCuxyDoFM8XQ69zPV4jb293whQS/VXjht3dCXil6g9FVupSn/o1O9LSxCVlI\nN7RX62bb1L1KJAPpVyJpPFrJjmrr8Yz5Q/8V+dBEuCBR7wg8edXEgp1uZCS5\n+DEpFKoE9j6ahaFUhVUxwYyiaHn04ejgOIiWV7cN4Fncsjeds2eJDiHby9Hs\nFuw6\r\n=kdvl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqhwz5asISvhaHuCA3UYrjwslGYpcaSM6KTs/XJ0eApAiBxEc41VtxMshPbFOvmNKeu34NgU9UEC+WvL8jINggUOg=="}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.meshline_1.2.0_1548710719960_0.029053446896502466"},"_hasShrinkwrap":false},"1.2.1":{"name":"three.meshline","version":"1.2.1","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"650d74d8f83516208db0d12e29d5b6afb42c3913","_id":"three.meshline@1.2.1","_nodeVersion":"12.4.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-EnF5U0MBgCvRMl6ynLxbFoAB0hVO8rn/OWK2Q38y3AMgwQK26ZO/E1J6JL7hDCVElKgWZRzmUPNUmCb0lWZzcQ==","shasum":"270b3d9b156ce4e21f5ba6748493f8bbe7d6290d","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.2.1.tgz","fileCount":4,"unpackedSize":28146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUmYPCRA9TVsSAnZWagAAZQ0P/3Bk9tpHSkkfuqbVPE7o\nE+7QzdRjlSztwKmkgHLDYnIy8fnUlhGOUbtd9Q50Ra0GjSdhR43MR1NFA8qU\naBv49KF+5aXDmWnsTb/D5bOWhYBpjFgqD3FKAR6yHZJqmF8PpXxBWSVwIbix\npRh+mvoXpL791g0p8Q4DkrmNdJ8yoM7NJ/zPyoxRVukFMEt7SFY4jv3yf0Dx\nLv1ImBDJEQZAkNje6RBF266Igio30JG8hpEToXeoTdIWZvEF2PnpUx4oOf8b\nP8J6CWwyJ0yo5o5RJMaygty7Xaqak+GpYClkvr3Ukcw8Dr8XijRbP1ORnJko\n9vf2kjsbgzTjwC7sN3zEoiWTGIyDzF7S3EW7ztiOaebQx+yxeihBTA9UhWJG\nAFMOhdyY5ySarKqERwuTzPcXjSg3Xvguxiw34K+NBZ1jg/P6FUIdVJUVeAkP\nz7CtkE12sOjeuNtMl+j33sobYWPDhorezt6dyujv4l7dfMDixL/urKysARPS\nlMattv7PkHaeeIv1o8+nGCd2eiFXS05nCKe6H/80HqgCJ0if6NNftTgpt10+\n92xNQhjVzUPRFuzPgX+JVsZRU2U4/7dk5sDNcXdUMa8nZN6h6voynwpvcZdt\nldn15+TpRmZi50qp2g6v6DYfjdwf9rIJuqf3B3E16gaJpFecEDnxADCGm0+F\ngqQK\r\n=9xEz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH92hOPjmiyYMxFmiK8oijQvzCWQcvoRLSmOfCnJMuojAiEAx13L9ujOUGEr83PlSlngOeYvEx6a6NGeLWYOI5gqgSY="}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"_npmUser":{"name":"jeremboo","email":"jeremi.boulay@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.meshline_1.2.1_1599235599471_0.16203815500280383"},"_hasShrinkwrap":false,"deprecated":"This version contains a breaking change"},"1.3.0":{"name":"three.meshline","version":"1.3.0","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"393ddacd64a8dda8cccee8b2d5ac278dbe31c380","_id":"three.meshline@1.3.0","_nodeVersion":"12.4.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-ZEb6cZiMh7RFPAQ0320aVBQx1CK4/wFffG9NNAArfX4KBPSJzjS19tYSuhNX7eZ1trU4blEHixz1EXkXN33++w==","shasum":"362d9bd3480907a4d8a2663587722a34e5a7cc92","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.3.0.tgz","fileCount":4,"unpackedSize":30899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXpbjCRA9TVsSAnZWagAAJr8QAI61lPxjtLgLB+PQLxej\nmJLP69puutzrx9UwSLked9AbzU8MdzT6EiLq6bYQP3otui8SMi2I+enrmsgZ\nN5Xd6BGlymxxWGxAmtz+DfxGh6wVisgD0FkcaPArgbkYFIBuklYS5lkPWiir\n9ZDzZV6fxycTzz2FJYTuuJyBRWlCbe4phNfcC038qBOi4Ip4WetR3c/bqwZq\nhgYMshAjt9MswUzB0uEENPF5WzBiPwKw4opBGPove6GNCRz/CS1VBDht+es2\nhDJjpd6lGArbs6PN+h29R1zN+RI69rOZbTyRE1FtpOqLK7uZJtJKwglx6ZlI\ntRQ+jdsTxeR6wwA4n34LM709W922pf2th4mrEs7nRsGB3FmFG4JOPlYLuwes\nytzcFdgnmZ9uW8eJrMlucPBxSVMk0ALcW2JVnHkPxhnadNAyevLcti9aYRbJ\ncAVpHNnTaClh+n4+mRyIB+83WJx0XauaD8QrX4VgxkM2f3Y+p6m5Qqk2HxB6\nNY+xPfGrl41FdKiFqMlnXps7mAi/6Ye/yrOpX6jXclx/ivP1HP27X0Z6aBRT\nBNCbVqsdETw6Q6NYeSpQOiEL892FAaCVOA00EQqv0IU8pUZyAcTHo+QRLLPS\nSBVfGqUlG7hMHlelK5fgRqYX8Id55vvJplOAxzZjMq1GOSs6BbAi9EvAtcO9\ncK9d\r\n=+kWQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjV/6hrE3uQ+04yUdngamWeLu5ZeytfQsxCbwSNZWELAiBzSYOHZgbba2X3MVGWLSiImqNIvGOPBnsLaE2Yd51gMQ=="}]},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"},{"name":"jeremboo","email":"jeremi.boulay@gmail.com"}],"_npmUser":{"name":"jeremboo","email":"jeremi.boulay@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.meshline_1.3.0_1600034531001_0.7523183621098077"},"_hasShrinkwrap":false},"1.4.0":{"name":"three.meshline","version":"1.4.0","description":"Mesh replacement for THREE.Line","main":"src/THREE.MeshLine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"keywords":["lines","threejs","mesh","line"],"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"license":"MIT","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","gitHead":"b49ae600898a88bdb3486a3674d5887ca1b61ff6","_id":"three.meshline@1.4.0","_nodeVersion":"14.15.4","_npmVersion":"7.11.2","dist":{"integrity":"sha512-A8IsiMrWP8zmHisGDAJ76ZD7t/dOF/oCe/FUKNE6Bu01ZYEx8N6IlU/1Plb2aOZtAuWM2A8s8qS3hvY0OFuvOw==","shasum":"2a483cbd99cd5f74cf6ee5c253a9a4b4a8169178","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.4.0.tgz","fileCount":4,"unpackedSize":32105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiG5P+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNCA/+KTdrZTwk5TiSnT9/VkvrT2QxBhoKZiEpvBlNLMkpf8CtqH6w\r\n+uymkGb5BjaxPWVWOU/+wbf1JKoMIGS1lRwd1sN/NdpdL+m/vPrkH4E3V7le\r\n1RUcXwpl8CvTm4YGRvMBVBnDzoNreqAgfS5m8zB9epsVonCkdcwpn683nRhw\r\neQIrPZ/hGlm3HI60FDEDx+IUTk5iFZNxhpAXkwj67RLMOdfrtavfmNfxCx1Y\r\nKjz5tt3VrhbVdhRYDUgfBv3yALrFuSiKo/qAutyqB48sZ2SnUt6X/v/recwX\r\nDInRsve6uGfp6oLjkHVknHga4wqHFNf6Ylh35J3HzZobdXLXsSe3wKrrpym6\r\nbrE6tUMfE2czKbGuFV8q22Td+6fplGg43s9HIaGpoOMY5U6DJME749k9nVbK\r\nhQobllkdmyJyDiRBOPlyb1D55ABBNdXrXdCO0D0JQOmE24KXrJTCmtho6Po2\r\nSAiGdr0Tczv5w7CA2ZjXBZXleaxFVd7xKXJkUJXM9wnohLOcmr1nBxJFzAj+\r\nqCLnoLEZa2ke0SmTaIhQbSnO0QMmvfDfJyA2PrJPVoo6RoufCUTbgoeonsFg\r\njitoXIRbdDBJic4QMy+dgvfMSGziDOaChCt4Gy2zROkwR3kqEWRWMu3aVku8\r\nFeNfHAxEAkSkFjEdkUxNYDte8xq2Xd9j/TI=\r\n=GdID\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBy1s7fI05Rks/0fRSZTtzPV51atXPcOlbmzza3dIadhAiBty9PK0OreLasMv89YNIU15nGjlpOldlXnBMYI/4gbkQ=="}]},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"directories":{},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"},{"name":"jeremboo","email":"jeremi.boulay@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.meshline_1.4.0_1645974526394_0.1363790829843523"},"_hasShrinkwrap":false}},"readme":"# MeshLine\r\nMesh replacement for ```THREE.Line```\r\n\r\nInstead of using GL_LINE, it uses a strip of triangles billboarded. Some examples:\r\n\r\n[![Demo](screenshots/demo.jpg)](http://spite.github.io/THREE.MeshLine/demo/index.html)\r\n[![Graph](screenshots/graph.jpg)](http://spite.github.io/THREE.MeshLine/demo/graph.html)\r\n[![Spinner](screenshots/spinner.jpg)](http://spite.github.io/THREE.MeshLine/demo/spinner.html)\r\n[![SVG](screenshots/svg.jpg)](http://spite.github.io/THREE.MeshLine/demo/svg.html)\r\n[![Shape](screenshots/shape.jpg)](http://spite.github.io/THREE.MeshLine/demo/shape.html)\r\n[![Shape](screenshots/birds.jpg)](http://spite.github.io/THREE.MeshLine/demo/birds.html)\r\n\r\n* [Demo](http://spite.github.io/THREE.MeshLine/demo/index.html): play with the different settings of materials\r\n* [Graph](http://spite.github.io/THREE.MeshLine/demo/graph.html): example of using ```MeshLine``` to plot graphs\r\n* [Spinner](http://spite.github.io/THREE.MeshLine/demo/spinner.html): example of dynamic ```MeshLine``` with texture\r\n* [SVG](http://spite.github.io/THREE.MeshLine/demo/svg.html): example of ```MeshLine``` rendering SVG Paths\r\n* [Shape](http://spite.github.io/THREE.MeshLine/demo/shape.html): example of ```MeshLine``` created from a mesh\r\n* [Birds](http://spite.github.io/THREE.MeshLine/demo/birds.html): example of ```MeshLine.advance()``` by @caramelcode (Jared Sprague) and @mwcz (Michael Clayton)\r\n\r\n### How to use ####\r\n\r\n* Include script\r\n* Create an array of 3D coordinates\r\n* Create a MeshLine and assign the points\r\n* Create a MeshLineMaterial\r\n* Use MeshLine and MeshLineMaterial to create a THREE.Mesh\r\n\r\n#### Include the script ####\r\n\r\nInclude script after THREE is included\r\n```js\r\n<script src=\"THREE.MeshLine.js\"></script>\r\n```\r\nor use npm to install it\r\n```\r\nnpm i three.meshline\r\n```\r\nand include it in your code (don't forget to require three.js)\r\n```js\r\nconst THREE = require('three');\r\nconst MeshLine = require('three.meshline').MeshLine;\r\nconst MeshLineMaterial = require('three.meshline').MeshLineMaterial;\r\nconst MeshLineRaycast = require('three.meshline').MeshLineRaycast;\r\n```\r\nor\r\n```js\r\nimport * as THREE from 'three';\r\nimport { MeshLine, MeshLineMaterial, MeshLineRaycast } from 'three.meshline';\r\n```\r\n\r\n##### Create an array of 3D coordinates #####\r\n\r\nFirst, create the list of numbers that will define the 3D points for the line.\r\n\r\n```js\r\nconst points = [];\r\nfor (let j = 0; j < Math.PI; j += (2 * Math.PI) / 100) {\r\n  points.push(Math.cos(j), Math.sin(j), 0);\r\n}\r\n```\r\n\r\n```MeshLine``` also accepts a ```BufferGeometry``` looking up the vertices in it.\r\n\r\n```js\r\nconst points = [];\r\nfor (let j = 0; j < Math.PI; j += 2 * Math.PI / 100) {\r\n  points.push(new THREE.Vector3(Math.cos(j), Math.sin(j), 0));\r\n}\r\nconst geometry = new THREE.BufferGeometry().setFromPoints(points);\r\nconst line = new MeshLine();\r\nline.setGeometry(geometry);\r\n```\r\n\r\n##### Create a MeshLine and assign the points #####\r\n\r\nOnce you have that, you can create a new `MeshLine`, and call `.setPoints()` passing the list of points.\r\n\r\n```js\r\nconst line = new MeshLine();\r\nline.setPoints(points);\r\n```\r\n\r\nNote: `.setPoints` accepts a second parameter, which is a function to define the width in each point along the line. By default that value is 1, making the line width 1 \\* lineWidth in the material.\r\n\r\n```js\r\n// p is a decimal percentage of the number of points\r\n// ie. point 200 of 250 points, p = 0.8\r\nline.setPoints(geometry, p => 2); // makes width 2 * lineWidth\r\nline.setPoints(geometry, p => 1 - p); // makes width taper\r\nline.setPoints(geometry, p => 2 + Math.sin(50 * p)); // makes width sinusoidal\r\n```\r\n\r\n##### Create a MeshLineMaterial #####\r\n\r\nA ```MeshLine``` needs a ```MeshLineMaterial```:\r\n\r\n```js\r\nconst material = new MeshLineMaterial(OPTIONS);\r\n```\r\n\r\nBy default it's a white material of width 1 unit.\r\n\r\n```MeshLineMaterial``` has several attributes to control the appereance of the ```MeshLine```:\r\n\r\n* ```map``` - a ```THREE.Texture``` to paint along the line (requires ```useMap``` set to true)\r\n* ```useMap``` - tells the material to use ```map``` (0 - solid color, 1 use texture)\r\n* ```alphaMap``` - a ```THREE.Texture``` to use as alpha along the line (requires ```useAlphaMap``` set to true)\r\n* ```useAlphaMap``` - tells the material to use ```alphaMap``` (0 - no alpha, 1 modulate alpha)\r\n* ```repeat``` - THREE.Vector2 to define the texture tiling (applies to map and alphaMap - MIGHT CHANGE IN THE FUTURE)\r\n* ```color``` - ```THREE.Color``` to paint the line width, or tint the texture with\r\n* ```opacity``` - alpha value from 0 to 1 (requires ```transparent``` set to ```true```)\r\n* ```alphaTest``` - cutoff value from 0 to 1\r\n* ```dashArray``` - the length and space between dashes. (0 - no dash)\r\n* ```dashOffset``` - defines the location where the dash will begin. Ideal to animate the line.\r\n* ```dashRatio``` - defines the ratio between that is visible or not (0 - more visible, 1 - more invisible).\r\n* ```resolution``` - ```THREE.Vector2``` specifying the canvas size (REQUIRED)\r\n* ```sizeAttenuation``` - makes the line width constant regardless distance (1 unit is 1px on screen) (0 - attenuate, 1 - don't attenuate)\r\n* ```lineWidth``` - float defining width (if ```sizeAttenuation``` is true, it's world units; else is screen pixels)\r\n\r\nIf you're rendering transparent lines or using a texture with alpha map, you should set ```depthTest``` to ```false```, ```transparent``` to ```true``` and ```blending``` to an appropriate blending mode, or use ```alphaTest```.\r\n\r\n##### Use MeshLine and MeshLineMaterial to create a THREE.Mesh #####\r\n\r\nFinally, we create a mesh and add it to the scene:\r\n\r\n```js\r\nconst mesh = new THREE.Mesh(line, material);\r\nscene.add(mesh);\r\n```\r\n\r\nYou can optionally add raycast support with the following.\r\n\r\n```js\r\nmesh.raycast = MeshLineRaycast;\r\n```\r\n\r\n### Declarative use ###\r\n\r\nTHREE.meshline can be used declaritively. This is how it would look like in [react-three-fiber](https://github.com/drcmda/react-three-fiber). You can try it live [here](https://codesandbox.io/s/react-three-fiber-three.meshline-example-vl221).\r\n\r\n<p align=\"center\">\r\n\t<a href=\"https://codesandbox.io/s/react-three-fiber-threejs-meshline-example-vl221\"><img width=\"432\" height=\"240\" src=\"https://imgur.com/mZikTAH.gif\" /></a>\r\n\t<a href=\"https://codesandbox.io/s/threejs-meshline-custom-spring-3-ypkxx\"><img width=\"432\" height=\"240\" src=\"https://imgur.com/g8ts0vJ.gif\" /></a>\r\n</p>\r\n\r\n```jsx\r\nimport { extend, Canvas } from 'react-three-fiber'\r\nimport { MeshLine, MeshLineMaterial, MeshLineRaycast } from 'three.meshline'\r\n\r\nextend({ MeshLine, MeshLineMaterial })\r\n\r\nfunction Line({ points, width, color }) {\r\n  return (\r\n    <Canvas>\r\n      <mesh raycast={MeshLineRaycast}>\r\n        <meshLine attach=\"geometry\" points={points} />\r\n        <meshLineMaterial\r\n          attach=\"material\"\r\n          transparent\r\n          depthTest={false}\r\n          lineWidth={width}\r\n          color={color}\r\n          dashArray={0.05}\r\n          dashRatio={0.95}\r\n        />\r\n      </mesh>\r\n    </Canvas>\r\n  )\r\n}\r\n```\r\n\r\nDynamic line widths can be set along each point using the `widthCallback` prop.\r\n```jsx\r\n<meshLine attach='geometry' points={points} widthCallback={pointWidth => pointWidth * Math.random()} />\r\n```\r\n\r\n### TODO ###\r\n\r\n* Better miters\r\n* Proper sizes\r\n\r\n### Support ###\r\n\r\nTested successfully on\r\n\r\n* Chrome OSX, Windows, Android\r\n* Firefox OSX, Windows, Anroid\r\n* Safari OSX, iOS\r\n* Internet Explorer 11 (SVG and Shape demo won't work because they use Promises)\r\n* Opera OSX, Windows\r\n\r\n### References ###\r\n\r\n* [Drawing lines is hard](http://mattdesl.svbtle.com/drawing-lines-is-hard)\r\n* [WebGL rendering of solid trails](http://codeflow.org/entries/2012/aug/05/webgl-rendering-of-solid-trails/)\r\n* [Drawing Antialiased Lines with OpenGL](https://www.mapbox.com/blog/drawing-antialiased-lines/)\r\n\r\n#### License ####\r\n\r\nMIT licensed\r\n\r\nCopyright (C) 2015-2016 Jaume Sanchez Elias, http://www.clicktorelease.com\r\n","maintainers":[{"name":"spite","email":"the.spite@gmail.com"},{"name":"jeremboo","email":"jeremi.boulay@gmail.com"}],"time":{"modified":"2022-06-27T06:20:19.987Z","created":"2016-12-11T22:56:44.577Z","1.0.0":"2016-12-11T22:56:44.577Z","1.0.1":"2016-12-31T01:39:32.315Z","1.0.2":"2017-01-29T22:49:55.424Z","1.0.3":"2017-01-29T22:50:44.639Z","1.1.0":"2018-05-02T22:27:49.116Z","1.2.0":"2019-01-28T21:25:20.124Z","1.2.1":"2020-09-04T16:06:39.562Z","1.3.0":"2020-09-13T22:02:11.129Z","1.4.0":"2022-02-27T15:08:46.616Z"},"homepage":"https://github.com/spite/THREE.MeshLine#readme","keywords":["lines","threejs","mesh","line"],"repository":{"type":"git","url":"git+https://github.com/spite/THREE.MeshLine.git"},"author":{"name":"Jaume Sanchez","email":"the.spite@gmail.com","url":"https://www.clicktorelease.com"},"bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mystaticself":true}}