{"_id":"three.meshline","_rev":"16-82a5a61107b4af7db6cc4bf876a58817","name":"three.meshline","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"three.meshline","version":"1.0.0","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.0.0","maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"e849efef39b389f2cd1ae5b6dcc839095b71bae9","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.0.tgz","integrity":"sha512-/AFAhNGh8DkNQs5ufoO9QGrOgv81gvH8UpRvyfWPmYvioTVhgdmOYlMEA05azje2omyM4bCOjUHMTWQT5qCCfA==","signatures":[{"sig":"MEUCIFAn19nCcA1XltFJ/DwjgS6cfPH6VOOPzywOi2sgkQHcAiEApiLRZIVXj6ARWy+dN33i6X1Zi3/sRHectFNg5zrwYmI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/THREE.MeshLine.js","_from":".","files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"_shasum":"e849efef39b389f2cd1ae5b6dcc839095b71bae9","gitHead":"6d9a73777440116c358ef9ca606f60d4c781730b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"3.8.6","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"6.0.0","_npmOperationalInternal":{"tmp":"tmp/three.meshline-1.0.0.tgz_1481497002802_0.9077594878617674","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"three.meshline","version":"1.0.1","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.0.1","maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"06e5df1436664c445ec325e0bf27e74087723143","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.1.tgz","integrity":"sha512-9WqBe6Y5EI3N5dqLXDIZuYsW0eRJCZq9TV58qimcph60NA3gh69EsvLyolaiZn2sspU4tUd2Poj5CqTRCFQdCw==","signatures":[{"sig":"MEYCIQDKdE/YTXkYu4Bbep4frEHlqMMW5L0VFjKAfYlGXFVMmQIhAPT18FemBEqM6FIucT+UWqpkFsmIIcm4rxi+v7nA3uiZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/THREE.MeshLine.js","_from":".","files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"_shasum":"06e5df1436664c445ec325e0bf27e74087723143","gitHead":"206291d0f0e52d0159e0aac2b60deb4808985aa2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"3.8.6","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"6.0.0","_npmOperationalInternal":{"tmp":"tmp/three.meshline-1.0.1.tgz_1483148371722_0.6783235804177821","host":"packages-18-east.internal.npmjs.com"}},"1.0.2":{"name":"three.meshline","version":"1.0.2","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.0.2","maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"625a75ff5e459f550e5318dfc8ba320e6b8719a7","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.2.tgz","integrity":"sha512-RwsR3On8YP3rPIaNbihGWykx3Sa6sW0l8y4pOr8LdZLRtl55h2j+vXaouY3NmUnJrlxVK/YAFq/p476qYt9cNw==","signatures":[{"sig":"MEUCIQC/mhJgegyYbfmM/AlyzAzbl8n8Ls4w9fTFClVNcROSPwIgOs9a8WRDRb5bPFatU5LYHlQRtCv8PAA/lX3cDJlUJAo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/THREE.MeshLine.js","_from":".","files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"_shasum":"625a75ff5e459f550e5318dfc8ba320e6b8719a7","gitHead":"872a3c9a219d0a20b8cdf9600e68377355709de9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"3.8.6","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"6.0.0","_npmOperationalInternal":{"tmp":"tmp/three.meshline-1.0.2.tgz_1485730193601_0.5456841920968145","host":"packages-12-west.internal.npmjs.com"}},"1.0.3":{"name":"three.meshline","version":"1.0.3","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.0.3","maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"85e9190d9de16bbdcffcc083746c3ea82be15a9b","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.0.3.tgz","integrity":"sha512-NoxXYdzfqYYLfhWvwFOlWtfwJDnDGAjy+YwBqJzuTogkap/zCntVwTIawc5NraQR7p15Nl8/EizJXP0YzZOn5A==","signatures":[{"sig":"MEUCIQDDLUIJk2wU+rT1jk0xsIQBqvwlUsxQhvMvEBGpWbKdVQIgEQsXLLLStEt0y0WbL/ANlu8XjkluFrgiOZLTm22+YMY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/THREE.MeshLine.js","_from":".","files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"_shasum":"85e9190d9de16bbdcffcc083746c3ea82be15a9b","gitHead":"c2e28a027b48188ff3fd059953ca97016dcad511","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"3.8.6","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"6.0.0","_npmOperationalInternal":{"tmp":"tmp/three.meshline-1.0.3.tgz_1485730242922_0.33020045165903866","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"three.meshline","version":"1.1.0","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.1.0","maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"cf66be97b239a044d9d80b8bbf63673eb4dc09fc","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.1.0.tgz","fileCount":4,"integrity":"sha512-YJmFMKP9udGMCNIxx6ntTu6qMti3y2a8w/Z2Ado/n8N837YAqm5kkJX55E8jGRyc0IWahlRkO+B2i+XXZluVGw==","signatures":[{"sig":"MEQCIA1PPo7D44RhaVq7YJlKiQ1dgYmnJoA8ZkdoK0z0jj9bAiBJ4QtoPoPIWLF0jeJ2R1hn1EAr0ToSd8l2NKCCzEADIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"src/THREE.MeshLine.js","files":["LICENSE","History.md","README.md","src/THREE.MeshLine.js"],"gitHead":"d15d05c93d45477245bb004ec0bedd9cbd17c181","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"6.0.0","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"9.7.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/three.meshline_1.1.0_1525300068980_0.8846554746801714","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"three.meshline","version":"1.2.0","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.2.0","maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"89a0c9d67d8062e5649dc0ac9aa16f14e7c199b5","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.2.0.tgz","fileCount":4,"integrity":"sha512-E7s9xwgjUhQWIvXBMIdCOIvpT1qV9UlntzaaJTWzJvYtvI2ZvVsX8EM8FxoiG5aptXuKbp5osnvcJCCkYOjmBA==","signatures":[{"sig":"MEQCIHqhwz5asISvhaHuCA3UYrjwslGYpcaSM6KTs/XJ0eApAiBxEc41VtxMshPbFOvmNKeu34NgU9UEC+WvL8jINggUOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"src/THREE.MeshLine.js","gitHead":"565dc97b36c742120936555c3b0eeb9653202e03","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"6.5.0","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"11.8.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/three.meshline_1.2.0_1548710719960_0.029053446896502466","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"three.meshline","version":"1.2.1","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.2.1","maintainers":[{"name":"spite","email":"the.spite@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"270b3d9b156ce4e21f5ba6748493f8bbe7d6290d","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.2.1.tgz","fileCount":4,"integrity":"sha512-EnF5U0MBgCvRMl6ynLxbFoAB0hVO8rn/OWK2Q38y3AMgwQK26ZO/E1J6JL7hDCVElKgWZRzmUPNUmCb0lWZzcQ==","signatures":[{"sig":"MEUCIH92hOPjmiyYMxFmiK8oijQvzCWQcvoRLSmOfCnJMuojAiEAx13L9ujOUGEr83PlSlngOeYvEx6a6NGeLWYOI5gqgSY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"src/THREE.MeshLine.js","gitHead":"650d74d8f83516208db0d12e29d5b6afb42c3913","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jeremboo","email":"jeremi.boulay@gmail.com"},"deprecated":"This version contains a breaking change","repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"6.13.6","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"12.4.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/three.meshline_1.2.1_1599235599471_0.16203815500280383","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"three.meshline","version":"1.3.0","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.3.0","maintainers":[{"name":"spite","email":"the.spite@gmail.com"},{"name":"jeremboo","email":"jeremi.boulay@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"362d9bd3480907a4d8a2663587722a34e5a7cc92","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.3.0.tgz","fileCount":4,"integrity":"sha512-ZEb6cZiMh7RFPAQ0320aVBQx1CK4/wFffG9NNAArfX4KBPSJzjS19tYSuhNX7eZ1trU4blEHixz1EXkXN33++w==","signatures":[{"sig":"MEQCIEjV/6hrE3uQ+04yUdngamWeLu5ZeytfQsxCbwSNZWELAiBzSYOHZgbba2X3MVGWLSiImqNIvGOPBnsLaE2Yd51gMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"src/THREE.MeshLine.js","gitHead":"393ddacd64a8dda8cccee8b2d5ac278dbe31c380","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jeremboo","email":"jeremi.boulay@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"6.13.6","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"12.4.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/three.meshline_1.3.0_1600034531001_0.7523183621098077","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"three.meshline","version":"1.4.0","keywords":["lines","threejs","mesh","line"],"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","_id":"three.meshline@1.4.0","maintainers":[{"name":"spite","email":"the.spite@gmail.com"},{"name":"jeremboo","email":"jeremi.boulay@gmail.com"}],"homepage":"https://github.com/spite/THREE.MeshLine#readme","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"2a483cbd99cd5f74cf6ee5c253a9a4b4a8169178","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-1.4.0.tgz","fileCount":4,"integrity":"sha512-A8IsiMrWP8zmHisGDAJ76ZD7t/dOF/oCe/FUKNE6Bu01ZYEx8N6IlU/1Plb2aOZtAuWM2A8s8qS3hvY0OFuvOw==","signatures":[{"sig":"MEQCIBy1s7fI05Rks/0fRSZTtzPV51atXPcOlbmzza3dIadhAiBty9PK0OreLasMv89YNIU15nGjlpOldlXnBMYI/4gbkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"src/THREE.MeshLine.js","gitHead":"b49ae600898a88bdb3486a3674d5887ca1b61ff6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"7.11.2","description":"Mesh replacement for THREE.Line","directories":{},"_nodeVersion":"14.15.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/three.meshline_1.4.0_1645974526394_0.1363790829843523","host":"s3://npm-registry-packages"}},"2.0.0":{"_id":"three.meshline@2.0.0","bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"dist":{"shasum":"4b831e6540dcf54097b5546b7422af76f4fecc3e","tarball":"https://registry.npmjs.org/three.meshline/-/three.meshline-2.0.0.tgz","fileCount":4,"integrity":"sha512-PT8Swf/gAKl9KoZDAnwUEy0pesiwrGTiVrPanfGUfA8RO8KcoDwZSg+QfEzbmYa2/1VJaNy4JNqa2TSwXWJPUw==","signatures":[{"sig":"MEQCIBEHehluvOJlDUdh9IxdMJXLbYlE1iePul0P5Y4p8IoOAiA2gbK6ghWUf0UyJzxu1+/DGFb+YUL/o9hnwt9Z6LI8zQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCH7oiPECRv5IVLEbKDVuj8EahdR0qe2HDMyz2NtwEU+AIhALuvqbhzB/PFh+MOP7rudPuxPM7ncZ137zTlbXWnq7df"}],"unpackedSize":31307},"main":"src/THREE.MeshLine.js","name":"three.meshline","type":"module","author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"module":"src/THREE.MeshLine.js","exports":{".":"./src/THREE.MeshLine.js"},"gitHead":"53744447a50b2b6c653d276744dc9328b1bbdc3d","license":"MIT","version":"2.0.0","_npmUser":{"name":"spite","email":"the.spite@gmail.com"},"homepage":"https://spite.github.io/THREE.MeshLine/","keywords":["lines","threejs","three","mesh","line","meshline","webgl"],"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"_npmVersion":"10.9.8","description":"Mesh replacement for THREE.Line: lines with width, taper, dashes and textures for three.js","directories":{},"maintainers":[{"name":"spite","email":"the.spite@gmail.com"},{"name":"jeremboo","email":"jeremi.boulay@gmail.com"}],"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"peerDependencies":{"three":">=0.155.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/three.meshline_2.0.0_1791855056121_0.6669865589379658"}}},"time":{"created":"2016-12-11T22:56:44.577Z","modified":"2026-10-13T01:30:56.493Z","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","2.0.0":"2026-10-13T01:30:56.217Z"},"bugs":{"url":"https://github.com/spite/THREE.MeshLine/issues"},"author":{"url":"https://www.clicktorelease.com","name":"Jaume Sanchez","email":"the.spite@gmail.com"},"license":"MIT","homepage":"https://spite.github.io/THREE.MeshLine/","keywords":["lines","threejs","three","mesh","line","meshline","webgl"],"repository":{"url":"git+https://github.com/spite/THREE.MeshLine.git","type":"git"},"description":"Mesh replacement for THREE.Line: lines with width, taper, dashes and textures for three.js","maintainers":[{"name":"spite","email":"the.spite@gmail.com"},{"name":"jeremboo","email":"jeremi.boulay@gmail.com"}],"readme":"# MeshLine\nMesh replacement for ```THREE.Line```\n\nInstead of using GL_LINE, it uses a strip of triangles billboarded.\n\n#### Demos ####\n* **[Demo](https://spite.github.io/THREE.MeshLine/demo/index.html)**: play with the different settings of materials\n* **[Graph](https://spite.github.io/THREE.MeshLine/demo/graph.html)**: example of using ```MeshLine``` to plot graphs\n* **[Spinner](https://spite.github.io/THREE.MeshLine/demo/spinner.html)**: example of dynamic ```MeshLine``` with texture\n* **[SVG](https://spite.github.io/THREE.MeshLine/demo/svg.html)**: example of ```MeshLine``` rendering SVG Paths\n* **[Shape](https://spite.github.io/THREE.MeshLine/demo/shape.html)**: example of ```MeshLine``` created from a mesh\n* **[Birds](https://spite.github.io/THREE.MeshLine/demo/birds.html)**: example of ```MeshLine.advance()``` by @caramelcode (Jared Sprague) and @mwcz (Michael Clayton)\n\n[![Demo](https://raw.githubusercontent.com/spite/THREE.MeshLine/master/screenshots/demo.jpg)](https://spite.github.io/THREE.MeshLine/demo/index.html)\n[![Graph](https://raw.githubusercontent.com/spite/THREE.MeshLine/master/screenshots/graph.jpg)](https://spite.github.io/THREE.MeshLine/demo/graph.html)\n[![Spinner](https://raw.githubusercontent.com/spite/THREE.MeshLine/master/screenshots/spinner.jpg)](https://spite.github.io/THREE.MeshLine/demo/spinner.html)\n[![SVG](https://raw.githubusercontent.com/spite/THREE.MeshLine/master/screenshots/svg.jpg)](https://spite.github.io/THREE.MeshLine/demo/svg.html)\n[![Shape](https://raw.githubusercontent.com/spite/THREE.MeshLine/master/screenshots/shape.jpg)](https://spite.github.io/THREE.MeshLine/demo/shape.html)\n[![Birds](https://raw.githubusercontent.com/spite/THREE.MeshLine/master/screenshots/birds.jpg)](https://spite.github.io/THREE.MeshLine/demo/birds.html)\n\n#### 2026 update ####\n**Disclaimer:** this library is from 2015. three.js has had lines with width in its addons since r91 (2018): `Line2`, `LineSegments2` and `LineMaterial`, with widths in pixels or in world units, dashes, and colors per vertex. If that's all you need, use those. There's also [meshline](https://github.com/pmndrs/meshline), a fork of this library maintained by pmndrs\n\nWhat this library has that the lines of three.js don't: a width that changes along the line, a texture along the line, a `visibility` to draw only part of it, and `advance()` to move a trail cheaply.\n\nThe library has been updated for current three.js, so code written for version 1.x might need changes. What changed:\n\n- it's an ES module only, and it needs three.js r155 or later. The script tag and ```require``` are gone\n- with ```sizeAttenuation``` off, ```lineWidth``` is the width in pixels. It used to be half of that, so those lines are now twice as thick: halve the value to get the old look\n- ```resolution``` is not required anymore. The material takes the size of what it's being rendered to, canvas or render target, and follows it when it changes\n- the colors match the rest of the scene: the line takes part in the color management and the tone mapping of three.js, it used to be darker from r152 on\n- the gaps between dashes, and the part of the line past ```visibility```, are not drawn at all. They used to be drawn transparent, hiding what was behind them\n- lines follow the fog of the scene, like the materials of three.js. Set ```material.fog = false``` to leave them out\n- clipping planes and the logarithmic depth buffer work\n- the width is right with orthographic cameras that are off centre\n- lines of more than 32767 points work, they used to wrap around\n- ```setPoints()``` takes any typed array, an array of vectors or a ```BufferAttribute``` too, and throws on anything else\n- setting the points again on a line of the same length reuses its buffers\n- ```material.clone()``` and ```material.copy()``` work\n- raycasting takes the width of the line at each point, widths in pixels, dashes and ```visibility``` into account, and returns the closest hit only\n\n### How to use ####\n\n* Import the module\n* Create an array of 3D coordinates\n* Create a MeshLine and assign the points\n* Create a MeshLineMaterial\n* Use MeshLine and MeshLineMaterial to create a THREE.Mesh\n\n#### Include the script ####\n\nUse npm to install it, alongside three.js\n```\nnpm i three three.meshline\n```\nand import it in your code\n```js\nimport * as THREE from 'three';\nimport { MeshLine, MeshLineMaterial, MeshLineRaycast } from 'three.meshline';\n```\nIt's a plain ES module, so it also works without a bundler as long as an import map resolves `three` (see [demo/index.html](demo/index.html)).\n\n##### Create an array of 3D coordinates #####\n\nFirst, create the list of numbers that will define the 3D points for the line.\n\n```js\nconst points = [];\nfor (let j = 0; j < Math.PI; j += (2 * Math.PI) / 100) {\n  points.push(Math.cos(j), Math.sin(j), 0);\n}\n```\n\nAn array of ```THREE.Vector3```, any typed array and a ```BufferAttribute``` work as well. ```MeshLine``` also accepts a ```BufferGeometry``` looking up the vertices in it.\n\n```js\nconst points = [];\nfor (let j = 0; j < Math.PI; j += 2 * Math.PI / 100) {\n  points.push(new THREE.Vector3(Math.cos(j), Math.sin(j), 0));\n}\nconst geometry = new THREE.BufferGeometry().setFromPoints(points);\nconst line = new MeshLine();\nline.setGeometry(geometry);\n```\n\n##### Create a MeshLine and assign the points #####\n\nOnce you have that, you can create a new `MeshLine`, and call `.setPoints()` passing the list of points.\n\n```js\nconst line = new MeshLine();\nline.setPoints(points);\n```\n\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.\n\n```js\n// p is a decimal percentage of the number of points\n// ie. point 200 of 250 points, p = 0.8\nline.setPoints(points, p => 2); // makes width 2 * lineWidth\nline.setPoints(points, p => 1 - p); // makes width taper\nline.setPoints(points, p => 2 + Math.sin(50 * p)); // makes width sinusoidal\n```\n\nTo change a line, call `.setPoints()` again. If the number of points is the same, the buffers are reused. For a trail there's `.advance()`, which drops the first point and adds a new one at the end:\n\n```js\nline.advance(new THREE.Vector3(x, y, z));\n```\n\n##### Create a MeshLineMaterial #####\n\nA ```MeshLine``` needs a ```MeshLineMaterial```:\n\n```js\nconst material = new MeshLineMaterial(OPTIONS);\n```\n\nBy default it's a white material of width 1 unit.\n\n```MeshLineMaterial``` has several attributes to control the appereance of the ```MeshLine```:\n\n* ```map``` - a ```THREE.Texture``` to paint along the line (requires ```useMap``` set to true)\n* ```useMap``` - tells the material to use ```map``` (0 - solid color, 1 use texture)\n* ```alphaMap``` - a ```THREE.Texture``` to use as alpha along the line (requires ```useAlphaMap``` set to true)\n* ```useAlphaMap``` - tells the material to use ```alphaMap``` (0 - no alpha, 1 modulate alpha)\n* ```repeat``` - THREE.Vector2 to define the texture tiling (applies to map and alphaMap - MIGHT CHANGE IN THE FUTURE)\n* ```color``` - ```THREE.Color```, or anything it can be made from, to paint the line with, or tint the texture with\n* ```opacity``` - alpha value from 0 to 1 (requires ```transparent``` set to ```true```)\n* ```alphaTest``` - cutoff value from 0 to 1\n* ```dashArray``` - the length and space between dashes. (0 - no dash)\n* ```dashOffset``` - defines the location where the dash will begin. Ideal to animate the line.\n* ```dashRatio``` - defines the ratio between that is visible or not (0 - more visible, 1 - more invisible).\n* ```visibility``` - how much of the line is drawn, from the start (0 - nothing, 1 - the whole line). Ideal to animate the line being drawn.\n* ```sizeAttenuation``` - makes the line smaller with distance, like any other object (1 - attenuate, the default; 0 - don't attenuate, the width is constant on screen)\n* ```lineWidth``` - float defining width (if ```sizeAttenuation``` is true, it's world units; else is screen pixels)\n* ```resolution``` - ```THREE.Vector2``` with the size that the pixels of ```lineWidth``` refer to. Optional: by default it's the size of the canvas, or of the render target\n\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```.\n\n##### Use MeshLine and MeshLineMaterial to create a THREE.Mesh #####\n\nFinally, we create a mesh and add it to the scene:\n\n```js\nconst mesh = new THREE.Mesh(line, material);\nscene.add(mesh);\n```\n\nYou can optionally add raycast support with the following.\n\n```js\nmesh.raycast = MeshLineRaycast;\n```\n\nThe intersection has the ```point``` on the line, the ```distance```, and the ```index``` of the segment that was hit. Lines with ```sizeAttenuation``` off need the camera, so use ```raycaster.setFromCamera()``` with them.\n\n### Declarative use ###\n\nTHREE.meshline can be used declaritively. This is how it would look like in [react-three-fiber](https://github.com/pmndrs/react-three-fiber). The live examples below were made with version 1.x.\n\n<p align=\"center\">\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>\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>\n</p>\n\n```jsx\nimport { extend, Canvas } from '@react-three/fiber'\nimport { MeshLine, MeshLineMaterial, MeshLineRaycast } from 'three.meshline'\n\nextend({ MeshLine, MeshLineMaterial })\n\nfunction Line({ points, width, color }) {\n  return (\n    <Canvas>\n      <mesh raycast={MeshLineRaycast}>\n        <meshLine attach=\"geometry\" points={points} />\n        <meshLineMaterial\n          attach=\"material\"\n          transparent\n          depthTest={false}\n          lineWidth={width}\n          color={color}\n          dashArray={0.05}\n          dashRatio={0.95}\n        />\n      </mesh>\n    </Canvas>\n  )\n}\n```\n\nDynamic line widths can be set along each point using the `widthCallback` prop.\n```jsx\n<meshLine attach='geometry' points={points} widthCallback={pointWidth => pointWidth * Math.random()} />\n```\n\n### TODO ###\n\n* Better miters\n* Proper sizes\n\n### Support ###\n\nthree.js r155 or later, on any browser that runs it. Tested on r155, r163 and r186. For older versions of three.js use version 1.x of this library.\n\n### References ###\n\n* [Drawing lines is hard](http://mattdesl.svbtle.com/drawing-lines-is-hard)\n* [WebGL rendering of solid trails](http://codeflow.org/entries/2012/aug/05/webgl-rendering-of-solid-trails/)\n* [Drawing Antialiased Lines with OpenGL](https://www.mapbox.com/blog/drawing-antialiased-lines/)\n\n#### License ####\n\nMIT licensed\n\nCopyright (C) 2015-2016 Jaume Sanchez Elias, http://www.clicktorelease.com\n","readmeFilename":"README.md","users":{"mystaticself":true}}