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.
- promise-polyfill for IE compatibility
- three/CanvasRendered.js & three/Projector.js for browsers without WebGL
- three/DeviceOrientationControls.js for gyroscope support
- three/StereoEffect.js for VR support
- NoSleep.js for better VR experience
$ bower install Photo-Sphere-Viewer$ npm install photo-sphere-viewerPhoto Sphere Viewer is available on jsDelivr and unpkg
- NodeJS + NPM:
apt-get install nodejs-legacy npm
Install Node dependencies npm install then run npm run build in the root directory to generate production files inside dist.
npm run startto open the example page with automatic build and livereload.npm run testto run tests suite.npm run docto generate the documentation.
This library is available under the MIT license.