@dioramajs/media/panorama
Exports of @dioramajs/media/panorama.
import { default, halves } from '@dioramajs/media/panorama'Functions
halves | Tangents of half the view across and up a box `width` by `height` for a vertical field of view `fov` in degrees. A portrait box sees a little wider, so a phone is not looking through a slit; the width never takes more than 110°. |
Constants
default | A 360° photo in the element's box, turned by drag, keys and the phone's gyroscope, with hotspots that follow their links. Without WebGL the poster and the links stay. |