Skip to content

PierreHourdille/Photo-Sphere-Viewer

 
 

Repository files navigation

Photo Sphere Viewer

Bower version NPM version Build Status Dependencies Status

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 can be taken with the Google Camera, the Ricoh Theta or any 360° camera.

Forked from JeremyHeleine/Photo-Sphere-Viewer.

Documentation

photo-sphere-viewer.js.org

Dependencies

Install

Manually

Download the latest release

With Bower

$ bower install Photo-Sphere-Viewer

With npm

$ npm install photo-sphere-viewer

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 serve to open the example page with automatic build and livereload.
  • grunt jsdoc to generate the documentation.

License

This library is available under the MIT license.

About

A JavaScript library to display Photo Sphere panoramas.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.3%
  • CSS 7.3%
  • HTML 6.4%