Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.75 KB

README.md

File metadata and controls

44 lines (38 loc) · 1.75 KB

180 Stereo Photo Viewer

A VR180 photo viewer that works on a web browser.

You can try it here. https://paturages.github.io/180-stereo-photo-viewer/

Supported photo formats

Features

  • Zenith correction (support Cardboard Camera VR Photo Format)
  • Offline support (experimental)

Notes

  • You need “Motion & Orientation Access” permission to use with Safari on iOS 12.2.
    Settings -> Safari -> PRIVACY & SECURITY -> Motion & Orientation Access

Usage

  • Specify a photo in HTML file
    Set the path of the photo to index.html <img id="stereoImage" 👉src="">.
  • Select a photo in file picker
    Double-click(tap) on the browser or drag and drop a file to select a photo.
  • Recenter
    Press the Space bar on the keyboard. (for PC)
    Long-Press on the browser. (for Mobile)
  • Zoom
    Use the scroll wheel
  • Rotate image up/down
    Use the up/down arrow keys
  • To disable file picker
    Remove file-picker component from index.html <a-scene 180-stereo-photo-viewer 👉file-picker …>
  • To disable offline support
    1. Comment out index.html <script src="scripts/offline-support.js"></script>.
    2. Unregister the Service Worker.
    3. Delete the cache.

Open source licenses