Although one can self-host Pannellum on virtually any web server as it is static content, a CDN is also provided for convenience.
<!-- Latest compiled and minified standalone viewer -->
https://cdn.pannellum.org/2.2/pannellum.htm
<!-- Latest compiled and minified JavaScript -->
<script src="https://cdn.pannellum.org/2.2/pannellum.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdn.pannellum.org/2.2/pannellum.css">
One can obviously also choose to download either for self-hosting or
development. When using Pannellum locally, a web server must still be used due
to browser security restrictions. 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.
Minified standalone viewer, CSS, and JavaScript. No documentation, utilities, or original source files are included.
Download Pannellum 2.2.1Full source code, utilities, and some documentation. It is not recommended to use the included unminified files in production.
Download sourceTo use Pannellum, either pannellum.htm
or pannellum.js
and pannellum.css
need to be placed on one’s web server.
The utils/build
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.
Pannellum is developed on GitHub by Matthew Petroff.