campzimmer-photo-sphere-viewer
v1.2.0
Published
A JavaScript library to display 360° panorama images.
Downloads
73
Maintainers
Readme
Photo Sphere Viewer
Photo Sphere Viewer is a JavaScript library that allows you to display 360° panoramas on any web page.
Two Important Facts about this package:
- If you're interested in using this package, you might want to check out this package first: mistic100/Photo-Sphere-Viewer
- This package does display 360° panamora images, but has been highly customized to fit the spcific needs and scope of Campzimmer, Inc
Dependencies
Required
Optionals
- 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
Install
$ npm install campzimmer-photo-sphere-viewer --save
Build
Run
Install Node dependencies npm install
then run npm run build
in the root directory to generate production files inside dist
.
Other commands
npm run start
to open the example page with automatic build and livereload.npm run test
to run tests suite.npm run doc
to generate the documentation.
License
Forked from mistic100/Photo-Sphere-Viewer.
This library is available under the MIT license.