Svelte-Panorama

A very lightweight (~63 KB uncompressed) standalone 360 equirectangular image viewer. The source code can be found here. An npm package for use in a bundler with react, vue, angular, svelte or as a standalone web component can be found here.

This page can be resized, the web component will properly adjust to smaller screen sizes. Feel free to try this on mobile devices too.

Bundle Stats

Outdoor smaller file example ~296 KB

FOV is 30

Indoor larger file example ~13 MB

FOV is 45
DXR, CC BY-SA 4.0, via Wikimedia Commons