Photo Sphere Viewer
Photo Sphere Viewer is a JavaScript library that allows you to display 360×180 degrees panoramas on any web page. Panoramas must use the equirectangular projection and they can be taken with Photo Sphere, the camera mode brought by Android 4.2 Jelly Bean.
Forked from JeremyHeleine/Photo-Sphere-Viewer.
Documentation
http://photo-sphere-viewer.js.org
Dependencies
Build
Prerequisites
- NodeJS + NPM:
apt-get install nodejs-legacy npm
- Ruby Dev:
apt-get install ruby-dev
- Grunt CLI:
npm install -g grunt-cli
- Bower:
npm install -g bower
- SASS:
gem install sass
Run
Install Node and Bower dependencies npm install & bower install
then run grunt
in the root directory to generate production files inside dist
.
Other commands
grunt test
to run jshint/jscs/scsslint.grunt watch
to automatically build the library when modifying the source files.grunt server
to open the example page with automatic build and livereload.
License
This library is available under the MIT license.