{"_id":"three.ar.js","_rev":"12-b6ae24cddeb181a87c9d7d082e85301a","name":"three.ar.js","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.0":{"name":"three.ar.js","version":"0.1.0","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","scripts":{"build":"webpack","dev":"webpack-dev-server --port 8000","lint":"eslint src/**.*","test":"npm run lint"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-preset-latest":"^6.24.1","eslint":"^4.5.0","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","glslify-loader":"^1.0.2","raw-loader":"^0.5.1","webpack":"^2.6.1","webpack-dev-server":"^2.5.0"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"gitHead":"d69af9f73cfcad404bebabfd6b24df6630802531","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.0","_shasum":"425940be3130dc1555bae04e95f18c04b6f8768a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"shasum":"425940be3130dc1555bae04e95f18c04b6f8768a","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.0.tgz","integrity":"sha512-EM1SfDW7dl1s2CEfFgNX0bPSInGPqM3/Z49NCaJRo2aLVNkq+DLybnBWDJkYJl14KjvKiMyhhW6819P0K0cXdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxvqKIU0u4WND7VPz/y6aTZwLhK4Anwza3nkWObyYKQAIhAJIhJjpAfumDn54AMDA7R/UDuqlIwUwP+ahw5LZJ3e4O"}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.0.tgz_1504018195453_0.8324494201224297"},"directories":{}},"0.1.1":{"name":"three.ar.js","version":"0.1.1","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","scripts":{"build":"webpack","dev":"webpack-dev-server --port 8000","lint":"eslint src/**.*","test":"npm run lint"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-preset-latest":"^6.24.1","eslint":"^4.5.0","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","glslify-loader":"^1.0.2","raw-loader":"^0.5.1","webpack":"^2.6.1","webpack-dev-server":"^2.5.0"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"gitHead":"9d6f422ec14fbc744707be5afa2acc1750630b28","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.1","_shasum":"36244e310503dcf7c4b6a7b1d32f87bb69b7e744","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"shasum":"36244e310503dcf7c4b6a7b1d32f87bb69b7e744","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.1.tgz","integrity":"sha512-YsQUGBTl0xJ/ow2owvUTnJ2el8w4/9RBmbivCSFFqcowUKiHB38tsImpsbsP+wVinpd7q4XUzqjDRiU9o1zI6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjSfjtKRg/bwQbGD6CI/THbw6qmg76Rsyj3T0/xIRpQgIgI/SgmMsuaptrc/FwfVfbummefWWr7Tta5JwRdRgqQHA="}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.1.tgz_1504021378379_0.5823421117383987"},"directories":{}},"0.1.2":{"name":"three.ar.js","version":"0.1.2","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","scripts":{"build":"webpack","dev":"webpack-dev-server --port 8000","lint":"eslint src/**.*","test":"npm run lint"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-preset-latest":"^6.24.1","eslint":"^4.5.0","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","glslify-loader":"^1.0.2","raw-loader":"^0.5.1","webpack":"^2.6.1","webpack-dev-server":"^2.5.0"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"gitHead":"fc3d577defd629e08ecc557506232915ee34fcad","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.2","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"integrity":"sha512-Q/t6VW13hJNnWl18Pn1xp7g6/LgQq2/Jy9p7p7AVKxL4HIi6t4unGBbjPYbKBdPnzftZ4GfDLXwozv9eQ3EB8A==","shasum":"2f67af00d802d4fee7a5ea704f7547f9f20ea687","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq6iscjKApFKPPmHRMSv/9l5f5unrDua/zfJae2YmKmQIhAPZBvROYeIyYlAt6yLqeXlFf+6AAZg96qGZQiXQE8X+a"}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.2.tgz_1505322714384_0.11175527237355709"},"directories":{}},"0.1.3":{"name":"three.ar.js","version":"0.1.3","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","scripts":{"build":"webpack","dev":"webpack-dev-server --port 8000","lint":"eslint src/**.*","test":"npm run lint"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-preset-latest":"^6.24.1","eslint":"^4.5.0","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","glslify-loader":"^1.0.2","raw-loader":"^0.5.1","webpack":"^2.6.1","webpack-dev-server":"^2.5.0"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"gitHead":"84af65852b295d99629831ae0681481f2fc832ac","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.3","_shasum":"6cfdba43a18958a4da1c585f77a76c01cada593c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"shasum":"6cfdba43a18958a4da1c585f77a76c01cada593c","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.3.tgz","integrity":"sha512-T9epJo8eENRSN87wY74oaTkcZp9DiMSLjnIAtlrJuHQnk9LeruyXY7LwOsc5GcfMoWFpDxqHZde7xdnjpSArXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErAPLwTujCA3V1Ej+nR+WvUnbEXUFBwz3M6wpWgzd/uAiATekuzJ7BjqEHYdVRlZPi3clR/k0ZeKeiovBOKcFZsgg=="}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.3.tgz_1505431324090_0.3173533685039729"},"directories":{}},"0.1.4":{"name":"three.ar.js","version":"0.1.4","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","scripts":{"build":"webpack","dev":"webpack-dev-server --port 8000","lint":"eslint src/**.*","test":"npm run lint"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-preset-latest":"^6.24.1","base64-image-loader":"^1.2.0","eslint":"^4.5.0","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","glslify-loader":"^1.0.2","raw-loader":"^0.5.1","webpack":"^2.6.1","webpack-dev-server":"^2.5.0"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"gitHead":"6d69bb495a5c604da6c8529498af14dea994cb6b","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.4","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"integrity":"sha512-ytet1eE/CUF6nGWbWnw57vLsuCSw8HsDCfYLFQCdqQ2L3FML6mTwLvv8RRN0tQDIEh8NDnMNKdRWrEn5DOSymA==","shasum":"52e69b263a9c180ac4c8aedea65d42679fe1af10","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3STT5wFpBCrYu6hSyt1kYpsUs95dCne3unjm6/NcvrAiBzaCcsA4ScLVk8aIU2V4p9umCpgHSyQzitHkbVnYnh2g=="}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.4.tgz_1506035724599_0.3314667772501707"},"directories":{}},"0.1.5":{"name":"three.ar.js","version":"0.1.5","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","scripts":{"build":"webpack","dev":"webpack-dev-server --port 8000","lint":"eslint src/**.*","test":"npm run lint"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-preset-latest":"^6.24.1","base64-image-loader":"^1.2.0","eslint":"^4.5.0","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","glslify-loader":"^1.0.2","raw-loader":"^0.5.1","uglifyjs-webpack-plugin":"1.0.0-beta.2","webpack":"^3.6.0","webpack-dev-server":"^2.9.1"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"peerDependencies":{"three":"*"},"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"gitHead":"821a41ab1a6b59dd54c33ec07298e214f4806a26","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.5","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"integrity":"sha512-4JDvFatg5bXddBJl4joVbudBtsbt2rfGnKiSPSyKYVcNTzAQde/7xldfhsvvGZp5YKXY0jqHDymvGXhv/tqygg==","shasum":"ecde03d23853b853a0a865851184978d6f153f2b","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrMyvI95KZkPjJ5R3gofJ13ZhVFnrAWCujv6KHBT2SwAiAWlTVSzuPfD2Fcmje65TcrU9KFWZqpmRjJ5hlmOGpLUA=="}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.5.tgz_1507332947162_0.10177026479505002"},"directories":{}},"0.1.6":{"name":"three.ar.js","version":"0.1.6","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","scripts":{"build":"rollup -c","build-min":"rollup -c rollup.config.min.js","build-all":"npm run build && npm run build-min","watch":"rollup -c -w","lint":"eslint 'src/**/*.js'","test":"npm run lint","preversion":"npm test","version":"npm run build-all && git add dist/*","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-eslint":"^8.0.1","babel-loader":"^7.0.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","base64-image-loader":"^1.2.0","eslint":"^4.5.0","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","rollup":"^0.50.0","rollup-plugin-babel":"^3.0.2","rollup-plugin-cleanup":"^1.0.1","rollup-plugin-commonjs":"^8.2.1","rollup-plugin-glsl":"^1.1.0","rollup-plugin-json":"^2.3.0","rollup-plugin-node-globals":"^1.1.0","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"peerDependencies":{"three":"*"},"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"dependencies":{"gl-preserve-state":"^1.0.0"},"gitHead":"60d440ba4ee135adfd864daada244d71717912ae","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.6","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"integrity":"sha512-7jU86L+3U5lXKUYeUjTMy8iLGm4rLgkrdDntdYi2D7yewqSm8FbxBQF+d/9sttQwMGmypBm/ou38dxkOLvx8cw==","shasum":"2b0f9394a0653c959c2453c9d0021bfc547102b4","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuDrhqeZ2rN0RQjnkiLWtfj2EzO42XLYx0PdNTlUHgZwIgHbMwsMRtsqcJgkqTlh4zEf9XRvPOCsgvgJRZ2KAhRxw="}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.6.tgz_1511389862855_0.42975324229337275"},"directories":{}},"0.1.7":{"name":"three.ar.js","version":"0.1.7","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","module":"./dist/three.ar.module.js","scripts":{"build":"rollup -c","build-min":"rollup -c rollup.config.min.js","build-all":"npm run build && npm run build-min","watch":"rollup -c -w","lint":"eslint 'src/**/*.js'","test":"npm run lint","preversion":"npm test","version":"npm run build-all && git add dist/*","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-eslint":"^8.0.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","base64-image-loader":"^1.2.0","eslint":"^4.13.1","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","rollup":"^0.50.0","rollup-plugin-babel":"^3.0.2","rollup-plugin-cleanup":"^1.0.1","rollup-plugin-commonjs":"^8.2.1","rollup-plugin-glsl":"^1.1.0","rollup-plugin-json":"^2.3.0","rollup-plugin-node-globals":"^1.1.0","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"peerDependencies":{"three":"*"},"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"dependencies":{"gl-preserve-state":"^1.0.0"},"gitHead":"40f0f9369e4172d055e012519e588ea4c4826670","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.7","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"integrity":"sha512-6ET28RErTKgBI8eT9cyBffu3EGLHDBL+dOObiDVv4t+n8a2SnaT0N3M2Qj0V2HXJwAT3v0G4rNKtNALuzoU2pA==","shasum":"af6f5fe97b1e3b44a29c60b8c470e3de8b9292ae","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbJ7HkNf64nmPk5FuKlEsOVlyuGRBwZtyL69cCxBNYfAiAuwT01Sv7PLwUT/FOL9SrJwqsvJSDUlP26QdWNwmZ9Cw=="}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js-0.1.7.tgz_1515785724759_0.15014410624280572"},"directories":{}},"0.1.8":{"name":"three.ar.js","version":"0.1.8","description":"A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore","main":"./dist/three.ar.js","module":"./dist/three.ar.module.js","scripts":{"build":"rollup -c","build-min":"rollup -c rollup.config.min.js","build-all":"npm run build && npm run build-min","watch":"rollup -c -w","lint":"eslint 'src/**/*.js'","test":"npm run lint","preversion":"npm test","version":"npm run build-all && git add dist/*","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"license":"Apache-2.0","devDependencies":{"babel-core":"^6.24.1","babel-eslint":"^8.0.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","base64-image-loader":"^1.2.0","eslint":"^4.13.1","eslint-config-google":"^0.9.1","glsl-y-hsv":"^1.0.0","rollup":"^0.50.0","rollup-plugin-babel":"^3.0.2","rollup-plugin-cleanup":"^1.0.1","rollup-plugin-commonjs":"^8.2.1","rollup-plugin-glsl":"^1.1.0","rollup-plugin-json":"^2.3.0","rollup-plugin-node-globals":"^1.1.0","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"peerDependencies":{"three":"*"},"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"dependencies":{"gl-preserve-state":"^1.0.0"},"gitHead":"2f05226b441e2c8af8bd6a2ce8d6826b8b04695e","bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"homepage":"https://github.com/google-ar/three.ar.js#readme","_id":"three.ar.js@0.1.8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"jsantell","email":"jsantell@gmail.com"},"dist":{"integrity":"sha512-NcFz7NKF5ikK/1anuvIBoj40m+xf5gENOlnvUv0ieA6HwQ1PWX9iXIsRqzcT/uwyuqSw488eYpeEtis3dC7Dpw==","shasum":"5c10801ed4f4d2dc43d9b2986cd774f0bfcdbefd","tarball":"https://registry.npmjs.org/three.ar.js/-/three.ar.js-0.1.8.tgz","fileCount":66,"unpackedSize":3905561,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGph5QhYvHFB4iWjgdVCA93Aul6kiP3wEVhCk6xE6swAIhANxT/LTtmArSJRFd+c2J4e2QIMrsvVSkeyosGEXSN/Nh"}]},"maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.ar.js_0.1.8_1519680536002_0.6089288809426734"},"_hasShrinkwrap":false}},"readme":"# three.ar.js\n\n[![Build Status](http://img.shields.io/travis/google-ar/three.ar.js.svg?style=flat-square)](https://travis-ci.org/google-ar/three.ar.js)\n[![Build Status](http://img.shields.io/npm/v/three.ar.js.svg?style=flat-square)](https://www.npmjs.org/package/three.ar.js)\n[![Build Status](http://img.shields.io/npm/dt/three.ar.js.svg?style=flat-square)](https://www.npmjs.org/package/three.ar.js)\n[![Build Status](http://img.shields.io/npm/l/three.ar.js.svg?style=flat-square)](https://www.npmjs.org/package/three.ar.js)\n\n**A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore.**\n\n<img alt=\"Spawn-at-Surface example, for ARCore\" src=\"examples/screencaps/20170829-arcore-spawnAtSurface-1.gif\" style=\"float: left; object-fit: cover; width: 45%; height: 20em; margin-right: 1em; \"><img alt=\"Spawn-at-Camera example, for ARKit\" src=\"examples/screencaps/20170829-arkit-spawnAtCamera-1.gif\" style=\"width: 45%; height: 20em; object-fit: cover;\">\n\n[WebARonARKit] and [WebARonARCore] are experimental apps for iOS and Android that let developers create Augmented Reality (AR) experiences using web technologies. three.ar.js makes it easier to create these experiences by providing helper classes and utilities on top of the [three.js] 3D library, which interfaces with the [WebVR Extension for AR] exposed by [WebARonARKit] and [WebARonARCore]. For example:\n\n* THREE.ARReticle: a visible reticle drawn on the real surface of real world objects.\n* THREE.ARPerspectiveCamera: a camera that matches your [three.js] scene to your camera's video feed.\n\nSee [three.ar.js API documentation](API.md) for details.\n\n## Installing\n\n### CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/three.ar.js@latest/dist/three.ar.js\"></script>\n<!-- or the minified version -->\n<script src=\"https://cdn.jsdelivr.net/npm/three.ar.js@latest/dist/three.ar.min.js\"></script>\n```\n\n### Script\n\nDownload the build at [dist/three.ar.js](dist/three.ar.js) and include it as a script tag in a web page. You must include [three.js] as well, and three.ar.js must be included after.\n\n```html\n<script src='three.js'></script>\n<script src='three.ar.js'></script>\n```\n\n### npm\n\nIf you're using a build tool, like [browserify] or [webpack], install it via [npm]. Note you must also have [three.js] installed via npm.\n\n```\n$ npm install --save three three.ar.js\n```\n\n## Using\n\nAccessing three.ar.js depends on the environment you're working in. Below are examples of importing\nthe code via script tag, as well as a module bundler like [browserify] or [webpack].\n\nTo view the additional APIs implemented by [WebARonARKit] and [WebARonARCore], view the [WebVR Extension for AR] document.\n\nFor more examples, see the [examples/](examples/) directory.\n\nSee the full [three.ar.js API documentation](API.md) for more details.\n\n\n### Script\n\nIf you are including three.ar.js via script tag, the additional three.ar.js features are appended to the `THREE` namespace, for example:\n\n```js\n/**\n * Not a full working example -- see the `examples/` directory\n */\nTHREE.ARUtils.getARDisplay().then(init);\n\nfunction init(display) {\n  vrDisplay = display;\n  // Set up three.js scene\n  renderer = new THREE.WebGLRenderer({ alpha: true });\n  scene = new THREE.Scene();\n\n  // ...\n\n  // Set up our ARView with ARPerspectiveCamera\n  arView = new THREE.ARView(vrDisplay, renderer);\n  camera = new THREE.ARPerspectiveCamera(vrDisplay, 60, window.innerWidth / window.innerHeight, vrDisplay.depthNear, vrDisplay.depthFar);\n  vrControls = new THREE.VRControls(camera);\n\n  update();\n}\n\nfunction update() {\n  // Update our controls/camera, the ARView rendering,\n  // and our three.js scene\n  vrControls.update();\n  arView.render();\n  renderer.clearDepth();\n  renderer.render(scene, camera);\n  vrDisplay.requestAnimationFrame(update);\n}\n```\n\n### Modules\n\nIf you're in a [browserify] or [webpack] like environment, three.ar.js uses [three.js]\nas a peer dependency. This means you can import both packages separately.\n\n```js\nimport { Scene, WebGLRenderer } from 'three';\nimport { ARUtils, ARPerspectiveCamera, ARView } from 'three.ar.js';\n\nasync function init() {\n  const display = await ARUtils.getARDisplay();\n  const renderer = new WebGLRenderer({ alpha: true });\n  const arView = new ARView(display, renderer);\n\n  // And so forth...\n}\n```\n\n## Contributing\n\nIf you're developing and modifying the three.ar.js library itself, there are some helpful build tools for you.\n\n### Installing Dependencies\n\nRun `npm install` to install dependencies required for this project.\n\n### Building\n\nRun `npm run build` to create a new build in `./dist`. When sending pull requests, do **not** build your changes and allow maintainers to do so. There are additional commands for building, like `npm run build-min` for building the minified file, and `npm run build-all` for building both.\n\nTo auto build when the source changes, run `npm run watch`.\n\n### Linting\n\nRun `npm run lint` to run the linter on code in `src/`.\n\n### Testing\n\nRight now, there are only linting tests. To run the tests, execute:\n\n```\n$ npm test\n```\n\nFor testing functionality, go through the examples with your changes and ensure the expected functionality.\n\n### Releasing a new version\n\nFor maintainers, to cut a new release for npm, use the [npm version] command. The `preversion`, `version` and `postversion` npm scripts will run tests, build, add built files and tag to git, push to github, and publish the new npm version.\n\n`npm version <semverstring>`\n\n## Examples\n\nExamples of three.ar.js are in the `/examples` directory.\n\nA [list of examples](https://developers.google.com/ar/develop/web/getting-started#examples) that are compatible with [WebARonARKit] and [WebARonARCore] is also available at [developers.google.com].\n\nCreated a cool example or want to see more from the community? Check out [this gist](https://gist.github.com/jsantell/871d7e709e5007533f3bf07c35434e29) with some links. Leave a comment to add yours!\n\n## License\nApache License Version 2.0 (see the `LICENSE` file inside this repo).\n\n[three.js]: https://threejs.org/\n[adb]: https://developer.android.com/studio/command-line/adb.html\n[npm]: https://www.npmjs.com\n[browserify]: http://browserify.org/\n[webpack]: https://webpack.github.io/\n[WebARonARKit]: https://github.com/google-ar/WebARonARKit\n[WebARonARCore]: https://github.com/google-ar/WebARonARCore\n[developers.google.com]: https://developers.google.com/ar/develop/web/getting-started#examples\n[WebVR Extension for AR]: webvr_ar_extension.md\n[npm version]: https://docs.npmjs.com/cli/version\n","maintainers":[{"name":"jsantell","email":"jsantell@gmail.com"}],"time":{"modified":"2022-06-27T06:20:00.759Z","created":"2017-08-29T14:49:55.847Z","0.1.0":"2017-08-29T14:49:55.847Z","0.1.1":"2017-08-29T15:42:58.554Z","0.1.2":"2017-09-13T17:11:54.592Z","0.1.3":"2017-09-14T23:22:04.248Z","0.1.4":"2017-09-21T23:15:24.745Z","0.1.5":"2017-10-06T23:35:48.684Z","0.1.6":"2017-11-22T22:31:03.021Z","0.1.7":"2018-01-12T19:35:24.997Z","0.1.8":"2018-02-26T21:28:56.160Z"},"homepage":"https://github.com/google-ar/three.ar.js#readme","keywords":["webar","webvr","webxr","arcore","arkit","webaronarcore","webaronarkit","augmented reality"],"repository":{"type":"git","url":"git+https://github.com/google-ar/three.ar.js.git"},"author":{"name":"Jordan Santell","email":"jsantell@google.com"},"bugs":{"url":"https://github.com/google-ar/three.ar.js/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}