{"_id":"@0x4d/locationar","_rev":"3-d0849b24dbffb59eae6ae971ea9d1b59","name":"@0x4d/locationar","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@0x4d/locationar","version":"1.0.0","description":"Location based Argumented Reality for three.js","keywords":["AR","Augmented Reality","three.js","Location Based","GPS"],"browser":"dist/LOCATIONAR.js","repository":{"type":"git","url":"git+https://github.com/0b01001101/locationar.git"},"scripts":{"start":"webpack-dev-server","serve":"live-server","build:ci":"webpack --mode=production --config webpack.config.js","build:prod":"webpack --mode=production --config webpack.config.js && npm run docs","build:dev":"webpack --mode=development --config webpack.config.js","build:watch":"webpack --mode=development --config webpack.config.js --watch","lint":"tslint src/**/*.ts && prettier **/*.ts --check","lint:fix":"tslint --fix src/**/*.ts && prettier **/*.ts --write","docs":"typedoc","test":"echo \"Error: no test specified\" && exit 1","version":"auto-changelog -p && git add CHANGELOG.md"},"author":{"name":"0x4d"},"license":"MIT","dependencies":{"three":"^0.106.2"},"devDependencies":{"husky":"^3.0.0","live-server":"^1.2.1","prettier":"^1.18.2","prettier-webpack-plugin":"^1.2.0","ts-loader":"^6.0.4","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","typescript":"^3.5.3","webpack":"^4.35.3","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","webpack-dev-server":"^3.7.2"},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"types":"src/LOCATIONAR.ts","gitHead":"04e94c0ad2c22481c9b73a6889d931dcc11dc404","bugs":{"url":"https://github.com/0b01001101/locationar/issues"},"homepage":"https://github.com/0b01001101/locationar#readme","_id":"@0x4d/locationar@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.5.0","_npmUser":{"name":"0x4d","email":"0x4d.dev@gmail.com"},"dist":{"integrity":"sha512-PJG9nqLiKacRDbX3MwfZW7NcSMHf5IInyqaIXIUUSTOOMYeLvqmwNk+sg95knr61InBV29heivRWaeJlHx7kjg==","shasum":"fed50ca42b708c6bd79bcf7b72546e6e31b89964","tarball":"https://registry.npmjs.org/@0x4d/locationar/-/locationar-1.0.0.tgz","fileCount":45,"unpackedSize":613929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJr7HCRA9TVsSAnZWagAAz88P/05UREf9pfeV1iAmut+G\n7uuvSRVBT0FfNKUKdW1xy8uQ12eJywJV3D6QckeQ6tY8JopDsLnPFzmTnRmi\nxDcArJQla4Kv/IUq61goB2oqgpFHdY/vuwuUSIowyleyqIhCig5BaTJyd13E\n+0bBCWcmj/OZaf2pdx46pVyBa/4FAvRK/u3kZU0AMTaA13fYmMat6IQ2i8TZ\n+iiHKnw3WD/h+rz1MWltw/xvFE3akxpVb4unL4SPaK4Wp/KbBjBq2/opnqmB\nkO3WaKh1k6kbm4GaApqafVb6HND6HxJC2cUW3/Yp7ApFWCTwppiNa5aji6S+\nYzHnA7dxR09rCd/t7SW0m/++lHeEo1+azqszDYlI6wQ80ec7nGNFYUksruCc\nEddoV9cBF14rJp/ixZjB+VMFUxI1dFpWScRbvn7utAciGxOU4XYXA3ID6YpC\n4uD9pHfqCZh4jfpBPGonb7XPDpp0GJ31CaYTfomr7TeVTGKiV969RtqC2mUH\n3mbzXmJMhVLx35QxYs2z2Sty1F75KthS6XGYnE9YWKh/q5L4o2uWmRcnlUa+\nwp0yoI50Wki/Z+a4FqfL6b46fQlRcBjNni3K++E564g1w9Oyj4ZhtLauE1l9\n2SIh+8Qez3qqfQX1NUiwwkiFK01yotWe8ZH0T54MrRWQWlPehC4Ftxucpz2y\nsTMK\r\n=oGVu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGXViwZEO/RoSuOIvdZ+191pjePhVOxBpCmqYQQio+XAiEAkY3h7xMTgNL9nwIa/YFAG+iPkeun4gx2m+KPP9+eiS4="}]},"maintainers":[{"name":"0x4d","email":"0x4d.dev@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/locationar_1.0.0_1562820294279_0.5524974527921835"},"_hasShrinkwrap":false},"1.0.1":{"name":"@0x4d/locationar","version":"1.0.1","description":"Location based Argumented Reality for three.js","keywords":["AR","Augmented Reality","three.js","Location Based","GPS","AR Tooltips"],"browser":"dist/LOCATIONAR.js","repository":{"type":"git","url":"git+https://github.com/0b01001101/locationar.git"},"scripts":{"start":"webpack-dev-server","serve":"live-server","build:ci":"webpack --mode=production --config webpack.config.js","build:prod":"webpack --mode=production --config webpack.config.js && npm run docs","build:dev":"webpack --mode=development --config webpack.config.js","build:watch":"webpack --mode=development --config webpack.config.js --watch","lint":"tslint src/**/*.ts && prettier **/*.ts --check","lint:fix":"tslint --fix src/**/*.ts && prettier **/*.ts --write","docs":"typedoc","test":"echo \"Error: no test specified\" && exit 1","version":"auto-changelog -p && git add CHANGELOG.md"},"author":{"name":"0x4d"},"license":"MIT","dependencies":{},"devDependencies":{"husky":"^3.0.0","live-server":"^1.2.1","prettier":"^1.18.2","prettier-webpack-plugin":"^1.2.0","ts-loader":"^6.0.4","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","typescript":"^3.5.3","webpack":"^4.35.3","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","webpack-dev-server":"^3.7.2"},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"types":"src/LOCATIONAR.ts","gitHead":"4cdad8f92fe43914a099bf08273c3b334933cee6","bugs":{"url":"https://github.com/0b01001101/locationar/issues"},"homepage":"https://github.com/0b01001101/locationar#readme","_id":"@0x4d/locationar@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"11.5.0","_npmUser":{"name":"0x4d","email":"0x4d.dev@gmail.com"},"dist":{"integrity":"sha512-GRbjAMmEBouvWie+CbtHjvXGRIynb3Ghy4yGdyTYElgaSLvmD0JMlq2X9+vyXHxGiAotbsQG7hSjetYvY4AAKA==","shasum":"6f0b1600a4fb654895bdeb211aa2f90c3f3517ae","tarball":"https://registry.npmjs.org/@0x4d/locationar/-/locationar-1.0.1.tgz","fileCount":52,"unpackedSize":708008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdM2m2CRA9TVsSAnZWagAAAjUP/1U+IWh/F00PbusyH/Xn\nTnPXTerOrir/gcoLhUHBGUrXQWtKzM7wKAR6yTkFRj08XSybAIYBgKipcvQn\nrui1Vcwld6TjyTZ+f1DqNDouaQ0KqS4JK0uGv9g1Md+FtLK4Yb5tZxbRAVhv\n3qJYmMF3f1w87oyt4U1UOymryahL12OHapImGxjWiPeDkoRWT9a8imyTufG/\noJRYh49zddbudBGC8UmYmNj/x8QhChwkHXBQiovjBgJ4Cc2C7WASTE4nnwKT\njGsvF4ujnO37hJZhjLVcv1rpG7txqAW5IQOe3IJYhnCcTchVU8tG5ZRb65VR\n4ZvPJ5EawsotcbQ4peshncLdcSPWGQIrmYdmOsx1VDfNekh9acN1ISbESObA\nYHsE+ilo3trCnv/d0CIwiLMY768wKOSNO/tYz0QW1c2Dwn14BohtPugtz83E\nQy+sfqXYRYLIhoQArDBDbkzVE37I/oB4UXmapd7g/uFSUPwYQKDO+y8mSZjE\nclB6H6CYHozOs2790P7kRInNLX/rHXpV3izn2Qz237/ZkIMI952/Isbjo2iQ\n6JppQiXvCrOrDCUli1zYg+MT2tXRfQSQatoLabCoYWigGQkWkvrbjWe6hrlx\nQrKWjvJmLXMaF290m4FmuImIxaFeM8WmTZsMYvd7g1PRyPBQs5vP3H0bHyuc\nyWPr\r\n=gJI0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn+QxaclC/Y6rvSKP6UNapbvS+AIjwtsVutsIkz3ekBgIgJcAFRiUjPUTqm3nNrm8kcf9UDyNDyA4WqQhqRYgiU0w="}]},"maintainers":[{"name":"0x4d","email":"0x4d.dev@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/locationar_1.0.1_1563650485626_0.2700209986859585"},"_hasShrinkwrap":false},"1.0.2":{"name":"@0x4d/locationar","version":"1.0.2","description":"Location based Argumented Reality for three.js","keywords":["AR","Augmented Reality","three.js","Location Based","GPS","AR Tooltips"],"browser":"dist/LOCATIONAR.js","repository":{"type":"git","url":"git+https://github.com/0b01001101/locationar.git"},"scripts":{"start":"webpack-dev-server","serve":"live-server","build:ci":"webpack --mode=production --config webpack.config.js","build:prod":"webpack --mode=production --config webpack.config.js && npm run docs","build:dev":"webpack --mode=development --config webpack.config.js","build:watch":"webpack --mode=development --config webpack.config.js --watch","lint":"tslint src/**/*.ts && prettier **/*.ts --check","lint:fix":"tslint --fix src/**/*.ts && prettier **/*.ts --write","docs":"typedoc","test":"echo \"Error: no test specified\" && exit 1","version":"auto-changelog -p && git add CHANGELOG.md"},"author":{"name":"0x4d"},"license":"MIT","dependencies":{},"devDependencies":{"husky":"^3.0.0","live-server":"^1.2.1","prettier":"^1.18.2","prettier-webpack-plugin":"^1.2.0","ts-loader":"^6.0.4","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","typedoc":"^0.14.2","typescript":"^3.5.3","webpack":"^4.35.3","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","webpack-dev-server":"^3.7.2"},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"types":"src/LOCATIONAR.ts","gitHead":"7872ffb5ef8784c381048036ad005a744a6c5791","bugs":{"url":"https://github.com/0b01001101/locationar/issues"},"homepage":"https://github.com/0b01001101/locationar#readme","_id":"@0x4d/locationar@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.5.0","_npmUser":{"name":"0x4d","email":"0x4d.dev@gmail.com"},"dist":{"integrity":"sha512-2nNtPSmGCSY5i9UYFxSiipfVz4CEjdcMvZyLTBipaIEf6p1luLYgaolo0Ozqu5pfpsA2umdc6EDjSbXRLwR0Lw==","shasum":"2a5335b4c5ae92c4ce2a1396d275020364f854f8","tarball":"https://registry.npmjs.org/@0x4d/locationar/-/locationar-1.0.2.tgz","fileCount":52,"unpackedSize":718659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP12QCRA9TVsSAnZWagAA0oQP/2Umr9A1SiuuzJHLj/aW\nQTR4wezSnh5EtQjDABUbQCKXAVxMBKz7dRd+tFRK+r2U8iSiUzDtpBNsz1E0\nOXEh1HTG/vJGHDnRL3ySXMyFj3xpKP4DaQbDg2WDEhxdiINbZj3r0ICqpu8Q\nQTNgfKayyw/P4psiC4URvTuIMZvdTPD78JNkqgBkedRPS3U0a8ACvRwuhYlf\nRDOfEEBqvFYnH4IEMbGT/Oms/xegYRNdDw9O7N6nKvaCSZWs02MNWEns3U6j\nMzaCG4C+rP/2+eF66KYtud6d4hABhM2xbbU0tawjKXLo+Bk2ZhnZ2wdzKqs0\nHj+jxHPmEE8Z/Zdu9b8nL6YkqjeN87ALlM+I+juYmfrxf9gy6h3vlFI+xwjn\nd2u2md2fe1CLQ3JUGp1ptFGuVqLh6qi5p3+k6BPyVjUk1t7JIYW6SszNSSBs\nfC4gH9SUDcFafRQlwIzeZZ14ycq4GAzQQ+8R7nK7s1A1PAxBAY8Yh/2xZ/7z\nCOgcvKdb6NpfI+wvp7ceGUaD2ULWis2PklBy86+qcM4PwSwNV5NPntEFyrMJ\nwTzLsGpwT80CZOBDmN2vrw3u2aVKe6zIa44O+VfeCztmVcFVzpGbq+t2SdOE\nBAekdJ9fSEcSBSgW7P1hYQMPIf09lBsaWzemaANXU+ypy+T+eyCE8qHVTzZy\nVMSG\r\n=cuXR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEE3iQ7+kr8uu99l7YT2NHmE4b9bWZJ+qdEMMxye11EaAiEA/jlSP1YPmNBAHDAAbkSVjJofHiB3LziArR14KYz0w4Y="}]},"maintainers":[{"name":"0x4d","email":"0x4d.dev@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/locationar_1.0.2_1564433807654_0.6281231381601138"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-11T04:44:54.070Z","1.0.0":"2019-07-11T04:44:54.460Z","modified":"2022-04-04T10:27:42.564Z","1.0.1":"2019-07-20T19:21:25.809Z","1.0.2":"2019-07-29T20:56:47.822Z"},"maintainers":[{"name":"0x4d","email":"0x4d.dev@gmail.com"}],"description":"Location based Argumented Reality for three.js","homepage":"https://github.com/0b01001101/locationar#readme","keywords":["AR","Augmented Reality","three.js","Location Based","GPS","AR Tooltips"],"repository":{"type":"git","url":"git+https://github.com/0b01001101/locationar.git"},"author":{"name":"0x4d"},"bugs":{"url":"https://github.com/0b01001101/locationar/issues"},"license":"MIT","readme":"# LOCATIONAR\r\n\r\nSimple Location based Argumented Reality library, based on the [WebRTC](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API), [Geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API), [DeviceOrientation](https://developer.mozilla.org/en-US/docs/Web/API/Detecting_device_orientation) and [AmbientLightSensor](https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor)\r\n\r\n## Online Samples:\r\n\r\n1. Use Chrome\r\n2. goto the [Compass](https://0b01001101.github.io/locationar/examples/compass.html) example and see if it's working [camera is working, north in the right direction]\r\n3. goto the [Location](https://0b01001101.github.io/locationar/examples/location.html) example and you should see a red cube 10 m in the direction of North\r\n4. If you don't see the cube or want to change the position click \"InfoPanel\" and then you can press the button GetPosition to set the position of the cube to your current position and offset it with the +10N, +10W,... buttons\r\n   Here you can also see the raw sensor data\r\n\r\n## Problems/Limentations\r\n\r\n- **missing compass accurcy**[can't find exact numbers, but up to +/- 10° on good devices, on some devices completely unuseable]\r\n- camera fov[different phones have different fov's and if the difference between the camera fov and the set fov is to big, the mapping for non-centered, far away objects will be distorted]\r\n- gps accurcy[can be a problem if the object is nearer than 20 meters]\r\n- to use the light ambient light sensor, you need to set the chrome flag #enable-generic-sensor-extra-classes to enabled\r\n\r\n## Documentation and Examples\r\n\r\n- [Docs](https://0b01001101.github.io/locationar/docs)\r\n- [Examples (Source)](https://github.com/0b01001101/locationar)\r\n- [Examples (Live)](https://0b01001101.github.io/locationar/)\r\n\r\n## Browser compability\r\n\r\n✔️Chrome\r\n❌Samsung Internet[Scaling doesn't work]\r\n❌Firefox [no absolute compass]\r\n❌UC[Source doesn't work]\r\n❌Opera\r\n❔Safari[can't test on apple devices]\r\n\r\n## Usage\r\n\r\nThe lib is small, only 20KB\r\n\r\nLOCATIONAR is provided as an npm module:\r\n\r\n```\r\nnpm i @0x4d/locationar\r\n```\r\n\r\nYou can also download this repository and import the dist/LOCATIONAR.js file\r\n\r\n## Development and Contribution\r\n\r\nPlease see the [development guide](./DEVELOPMENT.md). If you are interested in contributing, it may be a good starting point to see the list of open issues on our [GitHub issues page](https://github.com/JamesMilnerUK/THREEAR/issues).\r\n\r\n## Acknowledgements\r\n\r\n- [three.js](https://github.com/mrdoob/three.js/) awesome 3d rendering library\r\n- [THREEAR](https://github.com/JamesMilnerUK/THREEAR) marker based AR libary, with was used as a template for this project\r\n","readmeFilename":"README.md"}