{"_id":"three-line-2d","_rev":"29-42975c9451350fe9614be68aaa740c7d","name":"three-line-2d","description":"lines expanded in a vertex shader","dist-tags":{"latest":"1.1.6"},"versions":{"1.0.0":{"name":"three-line-2d","version":"1.0.0","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2"},"scripts":{"test":"node test.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"9310241d6dabf20effcc59b352bcacb48bc1cad8","_id":"three-line-2d@1.0.0","_shasum":"8dc7db0bf13d89b7bd92d9bea25eab3754f4f7c3","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"8dc7db0bf13d89b7bd92d9bea25eab3754f4f7c3","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.0.tgz","integrity":"sha512-0z/7wlqOEdvArFKIEQejeNcIAFvYk6AsyUG5UUKgdKzof1rR13x2SmzqCS9+MWDTCzEXqgYaqcik972qAj6ZBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYQXZAYcQQjQU0FcVYEWg9tVvZSl7HFdpBafM/E6cncAiAlqMEGef8/T3cpcY1hjSdoC4Lpz7iMBrXiJzcdaA99Dg=="}]}},"1.0.1":{"name":"three-line-2d","version":"1.0.1","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2"},"scripts":{"test":"node test.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"2c6ce2933b050ba226e0c5a3c80e2933b15c3695","_id":"three-line-2d@1.0.1","_shasum":"3e749d6609cb72f2c8d9095bbac86beadfde98f9","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"3e749d6609cb72f2c8d9095bbac86beadfde98f9","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.1.tgz","integrity":"sha512-nSSwLNmep6HZ1RXNctewFIruy1ksKUFftrLYW1H2ag0946xvF9+dTKdb4ZN0vmhIHxHz195gHerW3JfW5ya+yA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZB+8IqUV4SBuHJekgwBTtHah1S1z/uYrPUSBKLePQaAIgBZ5axGhmQL8hqo7ZXECKxEepzWz81H0pEet3Awp+GQ8="}]}},"1.0.2":{"name":"three-line-2d","version":"1.0.2","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2"},"scripts":{"test":"node test.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"9f15096b70c505e272040ed6fe84041e60053001","_id":"three-line-2d@1.0.2","_shasum":"5c981da7cb961c28f851c4389620a5ba12cad719","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"5c981da7cb961c28f851c4389620a5ba12cad719","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.2.tgz","integrity":"sha512-+SNoWgj70rmsD9JM1K+SVnwN8uQw1A3QreAHGsxXgbuMcLK3OhZ4CxzR6wdl0nn/mKX4GCtZ0NcsWAivSRhGbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+r65652GBMmGFh/3RIRgYJqMAoDbQgK80sF4jfeaFDAiBBWaGoR4ieCWBaejKP9aONZD4CyqtyuOZnv5+q4xBgJw=="}]}},"1.0.3":{"name":"three-line-2d","version":"1.0.3","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2"},"scripts":{"test":"node test.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"031e5d291a4601b2de1ab49e77f4bce40778ae5c","_id":"three-line-2d@1.0.3","_shasum":"74220d1ca58c942db0a11b3c7791f7c365bc99da","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"74220d1ca58c942db0a11b3c7791f7c365bc99da","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.3.tgz","integrity":"sha512-iIKg51hgAzJm7x7dTJiEW9dnR5WAWtKilMv7MN/exBsHy97giuQvh4xZZkXLK/SJbVPeNSkeUij8aCcqsjU0eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkVWK+VPrhNMAHl0Mvj8E9Cr8ITBLbNIxQS7kUlro2pAiA+kucrcEm4Qddk/QX+ggaFaZW6wMpmuYYkbumu6eg+aA=="}]}},"1.0.4":{"name":"three-line-2d","version":"1.0.4","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2"},"scripts":{"test":"node test.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"09aa7989d8693f77f85e5e3ebd94ec651fbee399","_id":"three-line-2d@1.0.4","_shasum":"d11f3dc8954a56fcdd868af4328f1603f6b61a41","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"d11f3dc8954a56fcdd868af4328f1603f6b61a41","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.4.tgz","integrity":"sha512-yRVI8oGnl8s3dRT6O9R16wPjIjwR3cXMhoikD0fqOhaL7VGs8vLWmJZd9lkz0xVh1LAxT9RC4rN0s3y2R7rRdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD36Fs1Grp/GighGrbEvKppuA7ierXeyXfbFQ5FUy1AaQIgUjxx56GISoqkrgvfUhzHkuRqlL16hRDDW/O/5lm0ApQ="}]}},"1.0.5":{"name":"three-line-2d","version":"1.0.5","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","browserify":"^6.3.3","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2","uglify-js":"^2.4.15"},"scripts":{"test":"node test.js","build":"browserify test/test.js | uglifyjs -cm > bundle.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"d32f1f6b92539e415f61fa5928b140d3b8ccfb07","_id":"three-line-2d@1.0.5","_shasum":"0e987717532f69a13a8acb8b67232e942ab4b708","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"0e987717532f69a13a8acb8b67232e942ab4b708","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.5.tgz","integrity":"sha512-bC1rsnfd/lzgi8iNAtyMpjFHvgkSDnEuGMNBKsWTehwh7kqnBUJulnJ7Ie0HP8RLrSBuTVDkQdRkKYq9w4CRyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXiyYwCOpT4Yl4hI+N5M6+FK1nxkiQU9Qy1umgJQnXSgIgIYc2s5U1H5hODOc8yrlDgSgNNMNzl6HFXOchHhCz1j0="}]}},"1.0.6":{"name":"three-line-2d","version":"1.0.6","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","browserify":"^6.3.3","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2","uglify-js":"^2.4.15"},"scripts":{"test":"node test.js","build":"browserify test/test.js | uglifyjs -cm > bundle.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"66ea43fdf00c27e70a48918833f2eaaf57c5ef0e","_id":"three-line-2d@1.0.6","_shasum":"c0b26b051133ebdff51bbb350fba247fa4289f01","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"c0b26b051133ebdff51bbb350fba247fa4289f01","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.6.tgz","integrity":"sha512-zb+uhMjExcTPFY5aFDpOSnCyAd2+MkjAVa+ecLGnmqfeOwtwiOMMkU5Nuw0/wfgwYjM6SsAjtJozoJtknf1fRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC17ajEeKXnctIH1dNuh5Jp/N+tMF7xGt500v0YP4N/XAIgSCrojxGC3K1WfvRisunTJsjwGQf6b1cN/hqpvuJu9XM="}]}},"1.0.7":{"name":"three-line-2d","version":"1.0.7","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","browserify":"^6.3.3","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2","uglify-js":"^2.4.15"},"scripts":{"test":"node test.js","build":"browserify test/test.js | uglifyjs -cm > bundle.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"93dd8ccf5cbe450e5c8f22c50b72943079dd6079","_id":"three-line-2d@1.0.7","_shasum":"1323123c8cdd129e4208efa0b32421f752557e03","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"1323123c8cdd129e4208efa0b32421f752557e03","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.7.tgz","integrity":"sha512-+od45Hutnk87GeTvVeBHakEMK2zUS8X3raYya7+tazGcuI6EL2wvMl07WcEJaQpAIt06d+dTsgYxA9zhAEUqJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAJGfn26BzwVHn/EZsBUCvn/J1skX3XphV43Nm+w0rRAIgNgWPLzsh+73NMXnyy8pr8tdQ54rX7nCoScGe577Ozog="}]}},"1.0.8":{"name":"three-line-2d","version":"1.0.8","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","browserify":"^6.3.3","domready":"^1.0.7","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2","uglify-js":"^2.4.15"},"scripts":{"test":"node test.js","build":"browserify test/test.js | uglifyjs -cm > bundle.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"2a583dd87f4a1e262b3932494a0ea98dbf87345e","_id":"three-line-2d@1.0.8","_shasum":"ed094b54a16a204a3dd7725bcea595ca174a448e","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"ed094b54a16a204a3dd7725bcea595ca174a448e","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.8.tgz","integrity":"sha512-YYJxRXCeV8QQDy0aOndUoNAyGPKfcRSY1veg6BRKeb8nsQTXYccBcaWPbqgnK1/LWxMPbyVZtAfZzBCibEYtNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQ8/ImViYh0XzOgL0lD4fqibtdPcm9EcqBeX+II1D77AiEA41P9YaTUWjDcBwff+KGRf9IW+eTN6VTJ9nHvgsrlon4="}]}},"1.0.9":{"name":"three-line-2d","version":"1.0.9","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"as-number":"^1.0.0","inherits":"^2.0.1","polyline-normals":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","browserify":"^6.3.3","domready":"^1.0.7","garnish":"^2.1.0","normalize-path-scale":"^1.1.1","three":"^0.69.0","three-orbit-viewer":"^69.2.2","uglify-js":"^2.4.15","wzrd":"^1.2.1"},"scripts":{"test":"wzrd test/test.js | garnish","build":"browserify test/test.js | uglifyjs -cm > bundle.js"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"cd287415fe80db3734e0d2850fadb26e090b7a78","_id":"three-line-2d@1.0.9","_shasum":"5c9cc9d46358b0ff297c4a41bd08fb45f383a726","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"5c9cc9d46358b0ff297c4a41bd08fb45f383a726","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.0.9.tgz","integrity":"sha512-x1M78yGNnAF89n2tPNfqvK+dxNnu4qjIMlvP1k28pjHn9bgFyC2QsaqZd8wD4Lk5b5jDjyl07qlcUOB2oGNeRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVEAslR/oZYT3MhdREXTDoTKRrA2UkRfXb+xec5mOmpAiAxA7sQsHTYzgjmFvgs2xqPxFZLkRMVolx4VoSk31Bx/g=="}]}},"1.1.0":{"name":"three-line-2d","version":"1.1.0","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"semistandard":{"globals":["THREE"]},"dependencies":{"inherits":"^2.0.1","object-assign":"^4.0.1","polyline-normals":"^2.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","as-number":"^1.0.0","browserify":"^13.0.0","budo":"^8.2.1","normalize-path-scale":"^2.0.0","orbit-controls":"^1.0.4","raf-loop":"^1.1.3","semistandard":"^7.0.5","three":"^0.75.0","three-orbit-viewer":"^69.3.0","uglify-js":"^2.4.15"},"scripts":{"build":"browserify test/index.js | uglifyjs -cm > bundle.js","start":"budo test/index.js:bundle.js --live","test":"semistandard"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"d46135649e186672a466b31fe696ab87599f8934","_id":"three-line-2d@1.1.0","_shasum":"53a8570b7e0b3d405feef6d5ac3756edd8d68103","_from":".","_npmVersion":"2.14.12","_nodeVersion":"5.0.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"53a8570b7e0b3d405feef6d5ac3756edd8d68103","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.1.0.tgz","integrity":"sha512-Gmh7CS05z21cwlka9t5bMzvIPeglbREFYE/tcPrN32RqYqyjEEoArvaHz6YomjPpu5FpVtudeWedGOyalbmYNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFMQhL2ADO5luCfxLSpy3tC841HClf+cJuYd8b6TkcVjAiB8G7389XOUbWE7bDQCSzq8Ul9aa7iu4RsXMM96JzJQKw=="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/three-line-2d-1.1.0.tgz_1461072826399_0.5780018861405551"}},"1.1.1":{"name":"three-line-2d","version":"1.1.1","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"semistandard":{"globals":["THREE"]},"dependencies":{"inherits":"^2.0.1","object-assign":"^4.0.1","polyline-normals":"^2.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","as-number":"^1.0.0","browserify":"^13.0.0","budo":"^8.2.1","normalize-path-scale":"^2.0.0","orbit-controls":"^1.0.4","raf-loop":"^1.1.3","semistandard":"^7.0.5","three":"^0.75.0","three-orbit-viewer":"^69.3.0","uglify-js":"^2.4.15"},"scripts":{"build":"browserify test/index.js | uglifyjs -cm > bundle.js","start":"budo test/index.js:bundle.js --live","test":"semistandard"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"e92b104f69b8294076aeac7d02e12e48c9c4ac4e","_id":"three-line-2d@1.1.1","_shasum":"0ea61b9b36aa2921b58b503146b6a5b4c9105382","_from":".","_npmVersion":"2.14.12","_nodeVersion":"5.0.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"0ea61b9b36aa2921b58b503146b6a5b4c9105382","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.1.1.tgz","integrity":"sha512-BNuJh0PIicZdrTep+mOfKbVmDNT9ix56GmjZcTDv5+qwW5oIt5fzWT5fLCZ7j5/K/hPv626y+295xm3wFbuX5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRH7MSQhLPv6ujOXV69ErSJCS/ffgfVw0+zbPWrC1yaAiEAsCNNv8WcxG7rNrLYglr74ZyNyg7X5hr2xAh8M+z9i00="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/three-line-2d-1.1.1.tgz_1461962965940_0.6717379558831453"}},"1.1.2":{"name":"three-line-2d","version":"1.1.2","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"semistandard":{"globals":["THREE"]},"dependencies":{"inherits":"^2.0.1","object-assign":"^4.0.1","polyline-normals":"^2.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","as-number":"^1.0.0","browserify":"^13.0.0","budo":"^8.2.1","normalize-path-scale":"^2.0.0","orbit-controls":"^1.0.4","raf-loop":"^1.1.3","semistandard":"^7.0.5","three":"^0.75.0","three-orbit-viewer":"^69.3.0","uglify-js":"^2.4.15"},"scripts":{"build":"browserify test/index.js | uglifyjs -cm > bundle.js","start":"budo test/index.js:bundle.js --live","test":"semistandard"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"b547def8018b9c7ec543cf9eb62b25ee39ea824f","_id":"three-line-2d@1.1.2","_shasum":"03db4fb3f9a018d6ffe080c4c28c8cac25fd52ab","_from":".","_npmVersion":"2.14.12","_nodeVersion":"5.0.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"03db4fb3f9a018d6ffe080c4c28c8cac25fd52ab","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.1.2.tgz","integrity":"sha512-NX8gCB0KuflNsw6UvllPltvq3svdzyWwZU5r8FU+THompNla9TMAxeT81EvXPQAj5iUKwLNrfGfpTO02II213Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxpzKc80rpJKFphLmLoSPJXYZvKzpDZn9yVD0wX4QVDQIgWY8+o7pglYl8kf2JRcH3uUHYoSppzkURoYu7KU+L+Xg="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/three-line-2d-1.1.2.tgz_1463353764039_0.7004779728595167"}},"1.1.3":{"name":"three-line-2d","version":"1.1.3","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"semistandard":{"globals":["THREE"]},"dependencies":{"inherits":"^2.0.1","object-assign":"^4.0.1","polyline-normals":"^2.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","as-number":"^1.0.0","browserify":"^13.0.0","budo":"^8.2.1","normalize-path-scale":"^2.0.0","orbit-controls":"^1.0.4","raf-loop":"^1.1.3","semistandard":"^7.0.5","three":"^0.75.0","three-orbit-viewer":"^69.3.0","uglify-js":"^2.4.15"},"scripts":{"build":"browserify test/index.js | uglifyjs -cm > bundle.js","start":"budo test/index.js:bundle.js --live","test":"semistandard"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"7904a7856c8e870822de6e1f7fef442fc38cde1d","_id":"three-line-2d@1.1.3","_shasum":"408fda3ba538a7adde30024e762a2814d972005a","_from":".","_npmVersion":"2.14.12","_nodeVersion":"5.0.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"408fda3ba538a7adde30024e762a2814d972005a","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.1.3.tgz","integrity":"sha512-Gl9FaKZbPDqVAnEWvlktPnolby9QE/bBU/Yrii1Gzmwjf0+D/aJaF+DZhzrJm/finXb6fGbbgqIowGxYWbr7KQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfedt8Tx5dghYfudw1AEeVG0BMWq265K7nHo05w+iqDAiAaoYjXlQVzbOSV0AxsFkmbX+5wTOCnZZhfIKjWrHXBfA=="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/three-line-2d-1.1.3.tgz_1463353801885_0.9268418047577143"}},"1.1.4":{"name":"three-line-2d","version":"1.1.4","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"semistandard":{"globals":["THREE"]},"dependencies":{"inherits":"^2.0.1","object-assign":"^4.0.1","polyline-normals":"^2.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","as-number":"^1.0.0","browserify":"^13.0.0","budo":"^8.2.1","normalize-path-scale":"^2.0.0","orbit-controls":"^1.0.4","raf-loop":"^1.1.3","semistandard":"^7.0.5","three":"^0.81.2","three-orbit-viewer":"^69.3.0","uglify-js":"^2.4.15"},"scripts":{"build":"browserify test/index.js | uglifyjs -cm > bundle.js","start":"budo test/index.js:bundle.js --live","test":"semistandard"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"f2ce6ddf5ca0ef7ea0f97d2a8e66171c40c0e38c","_id":"three-line-2d@1.1.4","_shasum":"efb86d11e11a0a54d042082ae277b3353a2c1dfa","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"efb86d11e11a0a54d042082ae277b3353a2c1dfa","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.1.4.tgz","integrity":"sha512-k8hyAgwdyJTn5Vqg3VPeDBej34aMhG++T8Lm+Pu59zCMqFPxntSsFrURg2lMMX2j3EsZHqHfYCJ1BXPW4E2H8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOtN2T0LsK6STclh3d6uSQqWHdTtWJMfm2V97u/t7KcQIhANqvuIUIVWugto1xjNMN4kTjfbMLqAdvL+Qp/pN7hUYw"}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/three-line-2d-1.1.4.tgz_1475091975759_0.4111746740527451"}},"1.1.5":{"name":"three-line-2d","version":"1.1.5","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"semistandard":{"globals":["THREE"]},"dependencies":{"inherits":"^2.0.1","object-assign":"^4.0.1","polyline-normals":"^2.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","as-number":"^1.0.0","browserify":"^13.0.0","budo":"^8.2.1","normalize-path-scale":"^2.0.0","orbit-controls":"^1.0.4","raf-loop":"^1.1.3","semistandard":"^7.0.5","three":"^0.81.2","three-orbit-viewer":"^69.3.0","uglify-js":"^2.4.15"},"scripts":{"build":"browserify test/index.js | uglifyjs -cm > bundle.js","start":"budo test/index.js:bundle.js --live","test":"semistandard"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"adcaa6d86f459d9d66e5ff6a05d78ec659b7e13f","_id":"three-line-2d@1.1.5","_shasum":"cd422c677d3703f8df89338b4c4a086b04728e69","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"cd422c677d3703f8df89338b4c4a086b04728e69","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.1.5.tgz","integrity":"sha512-M98ZlYw07XwiS/iYCHg1fUgC/6cQvvqBoHQs2Dxik6aKI3nDGsORxCUyGisjNcT2P/dlTmAQcpemlTISx3PUVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGTyTmypEdmMwBpaPOksrnd5/+tNGDszcKYAXqvo2V8AIgWauxndlWcL82cpG0yI7/TPXaYkhK89Ji3um/ma1kwys="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/three-line-2d-1.1.5.tgz_1475092059216_0.1982687043491751"}},"1.1.6":{"name":"three-line-2d","version":"1.1.6","description":"lines expanded in a vertex shader","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"semistandard":{"globals":["THREE"]},"dependencies":{"inherits":"^2.0.1","object-assign":"^4.0.1","polyline-normals":"^2.0.0"},"devDependencies":{"adaptive-bezier-curve":"^1.0.3","arc-to":"^1.0.0","as-number":"^1.0.0","browserify":"^13.0.0","budo":"^8.2.1","normalize-path-scale":"^2.0.0","orbit-controls":"^1.0.4","raf-loop":"^1.1.3","semistandard":"^7.0.5","three":"^0.81.2","three-orbit-viewer":"^69.3.0","uglify-js":"^2.4.15"},"scripts":{"build":"browserify test/index.js | uglifyjs -cm > bundle.js","start":"budo test/index.js:bundle.js --live","test":"semistandard"},"keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"homepage":"https://github.com/mattdesl/three-line-2d","bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"gitHead":"c0da016db3fcf9e9a6ebef8063fd7e8334af0ace","_id":"three-line-2d@1.1.6","_shasum":"caa209ce166ad35f9a3e6b84655e4005dd967b72","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"caa209ce166ad35f9a3e6b84655e4005dd967b72","tarball":"https://registry.npmjs.org/three-line-2d/-/three-line-2d-1.1.6.tgz","integrity":"sha512-/3EBFIPiubq0MeWg02dDUrrbvsoZ5uXqoXflmBxyoiBf5gABEuaa3qZbUu0Ggc0kj92FAcc6FeN/+MhL/OQZjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEhPJyXx7YUs9rc/ib2F01fMXrlYu7eA5m57SS1eOa3AiEA1nme+cnQFBOtJ2yV8XrEL9uXk+pCeLjlDSM9No9fSz8="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/three-line-2d-1.1.6.tgz_1475092070975_0.6307672671973705"}}},"readme":"# three-line-2d\n\n[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\n[![img](http://i.imgur.com/7yGGXdd.png)](http://mattdesl.github.io/three-line-2d/)\n\n([click to view demo](http://mattdesl.github.io/three-line-2d/))\n\nA utility for 2D line drawing in ThreeJS, by expanding a polyline in a vertex shader for variable thickness, anti-aliasing, gradients, line dashes, and other GPU effects.\n\nWorks in ThreeJS r69-r75, and possibly newer versions.\n\nSee [test/index.js](test/index.js) for a complete example, as well as other shader applications. \n\n```js\nvar bezier = require('adaptive-bezier-curve');\nvar Line = require('three-line-2d')(THREE);\nvar BasicShader = require('three-line-2d/shaders/basic')(THREE);\n\n//build a smooth bezier curve in world units\nvar quality = 5;\nvar curve = bezier([0, 0], [0.5, 1], [1, 1], [2, 0], quality);\n\n//create our geometry\nvar curveGeometry = Line(curve);\n\n//create a material using a basic shader\nvar mat = new THREE.ShaderMaterial(BasicShader({\n    side: THREE.DoubleSide,\n    diffuse: 0x5cd7ff,\n    thickness: 0.3\n}));\n\nvar mesh = new THREE.Mesh(curveGeometry, mat);\napp.scene.add(mesh);\n```\n\n## Usage\n\n[![NPM](https://nodei.co/npm/three-line-2d.png)](https://nodei.co/npm/three-line-2d/)\n\n#### `geometry = Line(path, [opt])`\n\nCreates a new Line geometry from a 2D list of points. Options:\n\n- `distances` if true, each vertex will also pass a `lineDistance` attribute to the vertex shader. This can be used to compute the U texture coordinate from the start of the line to its end.\n- `closed` if true, a segment will be drawn from the last point to the the first point, and the normals will be adjusted accordingly (default false)\n\n*Note:* You can also omit the `path` and just pass an `opt` object to initially construct the geometry. However, some versions of ThreeJS do not support dynamically growing vertex data, so it's best to pass an initial list of points with the maximum capacity of your desired line.\n\n#### `geometry.update(path[, closed])`\n\nUpdates the geometry with the new 2D polyline, which can optionally be a closed loop (default false).\n\n## Running from Source\n\n```sh\ngit clone https://github.com/mattdesl/three-line-2d.git\ncd three-line-2d\nnpm install\n```\n\nYou can run the demo locally on `localhost:9966` with:\n\n```sh\nnpm run start\n```\n\nYou can build the demo to a static JavaScript bundle with:\n\n```sh\nnpm run build\n```\n\n## Changelog\n\n## 1.1.0\n\n- Major code cleanup and new test with cleaner modules\n- Support r69-r75\n- It seems like ThreeJS does not support dynamically growing geometry across all versions; use with care!\n\n## License\n\nMIT, see [LICENSE.md](http://github.com/mattdesl/three-line-2d/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"time":{"modified":"2022-06-27T06:18:30.888Z","created":"2014-11-28T18:04:30.716Z","1.0.0":"2014-11-28T18:04:30.716Z","1.0.1":"2014-11-28T18:15:31.046Z","1.0.2":"2014-11-28T18:41:05.788Z","1.0.3":"2014-11-29T16:02:42.131Z","1.0.4":"2014-11-29T16:04:10.978Z","1.0.5":"2014-12-01T18:47:39.698Z","1.0.6":"2014-12-02T21:08:08.420Z","1.0.7":"2014-12-03T16:53:37.193Z","1.0.8":"2014-12-03T18:15:32.567Z","1.0.9":"2015-03-23T20:52:56.839Z","1.1.0":"2016-04-19T13:33:47.649Z","1.1.1":"2016-04-29T20:49:28.011Z","1.1.2":"2016-05-15T23:09:26.468Z","1.1.3":"2016-05-15T23:10:04.332Z","1.1.4":"2016-09-28T19:46:16.351Z","1.1.5":"2016-09-28T19:47:40.999Z","1.1.6":"2016-09-28T19:47:51.631Z"},"homepage":"https://github.com/mattdesl/three-line-2d","keywords":["three","js","line","render","2d","join","miter","thick","gl.LINES","lines","gl","polyline"],"repository":{"type":"git","url":"git://github.com/mattdesl/three-line-2d.git"},"author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"bugs":{"url":"https://github.com/mattdesl/three-line-2d/issues"},"license":"MIT","readmeFilename":"README.md"}