{"_id":"@dmorgenstern-init/pannellum","_rev":"1-0d4474cd44c4c96f42e331529788b30c","name":"@dmorgenstern-init/pannellum","dist-tags":{"latest":"2.5.0"},"versions":{"2.5.0":{"name":"@dmorgenstern-init/pannellum","description":"Pannellum is a lightweight, free, and open source panorama viewer for the web.","version":"2.5.0","bugs":{"url":"https://github.com/mpetroff/pannellum/issues"},"author":{"name":"Matthew Petroff","url":"https://mpetroff.net/"},"contributors":[{"name":"Daniel Morgenstern","email":"daniel.morgenstern@init.de"}],"repository":{"type":"git","url":"git+https://github.com/dmorgenstern-init/pannellum.git"},"license":"MIT","homepage":"https://pannellum.org/","main":"build/pannellum.js","keywords":["panorama","viewer"],"gitHead":"c0b6b6f45a0eca9df27ef6e91e7301db7f8eb124","_id":"@dmorgenstern-init/pannellum@2.5.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"dmorgenstern-init","email":"daniel.morgenstern@init.de"},"dist":{"integrity":"sha512-/9238FH9R4ZKfa4L41bfsBVLQ1oVHDalKo5v3IMqKc7pW57vn+DbdF2xOK6KGABgPkd5MqfccNusdjKSaZO+XA==","shasum":"5050d8b6d578773b873c0fa081503ae2477374ec","tarball":"https://registry.npmjs.org/@dmorgenstern-init/pannellum/-/pannellum-2.5.0.tgz","fileCount":33,"unpackedSize":538560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4H0PCRA9TVsSAnZWagAA/hMP/13+Ap5b43ihF3RezqUh\ns6Lfyaq6qk2pckLjGHsRKnc/LNb3XnWfkFNazYY+biE8CVEudR+KXS9QvBd2\n571e4RMNR6UzK6Z8hNhk0//myQgjH3H9rirL2jcRhcQG5sDVJdAffoigAqVB\nqaSDyVAT6LX9rLX3ay3Kcv7mUB+7KouJXS3PG49rekmZDy1cIRnA9LDfUEQM\n++PU+LF6flNhjN0Me1ZkDPgTNngEQiuHcS0p8emLCFdAfSSqhbKpuS3revn/\nDVhBfzVm1Miqwwn08r+Wu2cdBeYS12c8AGgyljoe5wo67Jg9xRrK8B5bjbMU\nKjiOvGEc7QK3z4wZoTbfOrux32mVL4SBII+/OFnQYY1T2Ce+oyspvrbuyP+T\nq0vcUFP30PDKr35VnRCIIRMxGOO3+lfK98wK2+S6cyc6OqHKPOSp14QFMEEt\n3rITSThqUk6W/eDnuCu8PMRbjg8LrfabOMhhDLI8Z5HHu6D1h2IT0jqxKbgO\nyiSWiz24S6PZiwbcZSO1pBPJE4jLVpjNVn+feYbM6635BfRgHNlMg8TKh0dp\n33cE6Ai6XgnESh0pvrINN/pvmmIZZWoqdMfehB9Qy0gTeKu7C//ttT3+/BMU\n8SWcGUllnts7+3K45ifbz947SmDPAL8GIMNXx3nMZgXyXsbpXq2fGVmA/0pq\n0jR1\r\n=rEO9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSaXGvvKI8eqVjrLous9pGGi0IJBCsefvKCOgawvItzAiBrVRHhhScNHnO0O448pGwieoC63ZGOu5Vf2kqE3m+8Zw=="}]},"maintainers":[{"name":"dmorgenstern-init","email":"daniel.morgenstern@init.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pannellum_2.5.0_1524661518615_0.10859612737556446"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-25T13:05:18.563Z","2.5.0":"2018-04-25T13:05:18.891Z","modified":"2022-04-05T05:00:19.402Z"},"maintainers":[{"name":"dmorgenstern-init","email":"daniel.morgenstern@init.de"}],"description":"Pannellum is a lightweight, free, and open source panorama viewer for the web.","homepage":"https://pannellum.org/","keywords":["panorama","viewer"],"repository":{"type":"git","url":"git+https://github.com/dmorgenstern-init/pannellum.git"},"contributors":[{"name":"Daniel Morgenstern","email":"daniel.morgenstern@init.de"}],"author":{"name":"Matthew Petroff","url":"https://mpetroff.net/"},"bugs":{"url":"https://github.com/mpetroff/pannellum/issues"},"license":"MIT","readme":"# Pannellum\r\n\r\n## About\r\n\r\nPannellum is a lightweight, free, and open source panorama viewer for the web. Built using HTML5, CSS3, JavaScript, and WebGL, it is plug-in free. It can be deployed easily as a single file, just 15kB gzipped, and then embedded into pages as an `<iframe>`. A configuration utility is included to generate the required code for embedding.\r\n\r\n## How to use\r\n1. Upload `build/pannellum.htm` and a full equirectangular panorama to a web server.\r\n    * Due to browser security restrictions, a web server must be used locally as well. With Python 2, one can use `python -m SimpleHTTPServer`, and with Python 3, one can use `python -m http.server`, but any other web server will work as well.\r\n2. Use the included multi-resolution generator (`utils/multires/generate.py`) or configuration tool (`utils/config/configuration.htm`).\r\n3. Insert the generated `<iframe>` code into a page.\r\n\r\n### Using `generate.py` to create multires panoramas\r\nTo be able to create multiresolution panoramas, you need to have the `nona` program installed, which is available as part of [Hugin](http://hugin.sourceforge.net/), as well as Python with the [Pillow](https://pillow.readthedocs.org/) package. Then, run\r\n\r\n```\r\npython generate.py pano_image.jpg\r\n```\r\n\r\nin the `utils/multires` directory. This will generate all the image tiles and the `config.json` file in the `./output` folder by default. For this to work, `nona` needs to be on the system path; otherwise, the location of `nona` can be specified using the `-n` flag, e.g. `python generate.py -n /path/to/nona pano_image.jpg`.\r\n\r\n## Examples\r\n\r\nExamples using both the minified version and the version in the `src` directory are included in the `examples` directory.\r\n\r\n## Browser Compatibility\r\n\r\nSince Pannellum is built with recent web standards, it requires a modern browser to function.\r\n\r\n#### Full support (with appropriate graphics drivers):\r\n* Firefox 10+\r\n* Chrome 15+\r\n* Safari 8+\r\n* Internet Explorer 11+\r\n* Edge\r\n\r\n#### Almost full support (no full screen):\r\n* Firefox 4+\r\n* Chrome 9+\r\n\r\n#### Partial support (WebGL support must first be enabled in preferences)\r\n\r\n* Safari 5.1+\r\n\r\n#### No support:\r\nInternet Explorer 10 and previous\r\n\r\n## Translations\r\n\r\nAll user-facing strings can be changed using the `strings` configuration parameter. There exists a [third-party respository of user-contributed translations](https://github.com/DanielBiegler/pannellum-translation) that can be used with this configuration option.\r\n\r\n## Building\r\nThe `utils` folder contains the required build tools, with the exception of Python 3.2+ and Java installations. To build a minified version of Pannellum, run either `build.sh` or `build.bat` depending on your platform.\r\n\r\n## License\r\nPannellum is distributed under the MIT License. For more information, read the file `COPYING` or peruse the license [online](https://github.com/mpetroff/pannellum/blob/master/COPYING).\r\n\r\nIn the past, parts of Pannellum were based on [three.js](https://github.com/mrdoob/three.js) r40, which is licensed under the [MIT License](https://github.com/mrdoob/three.js/blob/44a8652c37e576d51a7edd97b0f99f00784c3db7/LICENSE).\r\n\r\nThe panoramic image provided with the examples is licensed under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).\r\n\r\n## Credits\r\n\r\n* [Matthew Petroff](http://mpetroff.net/), Original Author\r\n* [three.js](https://github.com/mrdoob/three.js) r40, Former Underlying Framework\r\n","readmeFilename":"readme.md"}