hocu / Photo-Sphere-Viewer

A JavaScript library to display Photo Sphere panoramas.

Home Page:http://photo-sphere-viewer.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Photo Sphere Viewer

Bower version Build 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 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.

About

A JavaScript library to display Photo Sphere panoramas.

http://photo-sphere-viewer.js.org

License:MIT License


Languages

Language:JavaScript 88.3%Language:CSS 8.9%Language:HTML 2.8%