Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (39 loc) · 2.13 KB

README.md

File metadata and controls

60 lines (39 loc) · 2.13 KB

Photo Sphere Viewer

NPM version jsDelivr Hits 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

Via CDN

Photo Sphere Viewer is available on jsDelivr and unpkg

Build

Prerequisites

  • NodeJS + NPM: apt-get install nodejs-legacy npm
  • Grunt CLI: npm install -g grunt-cli

Run

Install Node and Bower dependencies npm 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 doc to generate the documentation.

License

This library is available under the MIT license.