How pausegui/free-360-panoramic-viewer-virtual-tour-html works
Purpose and Entry Points
A browser-only builder and player for interactive 360° virtual tours. It requires no backend, database, or build process: users open a standalone HTML file locally or serve it as static content. The language-specific entry points are:
• index.html — English builder/exporter
• index_es.html — Spanish builder/exporter
Single-File Application Boundary
Each entry HTML file contains the application UI, client-side logic, and dependencies needed to author tours. The repository has no separate source modules, server code, asset directories, or deployment manifests. Consequently, editing, rendering, persistence, and export are all coupled within each standalone document:
• index.html
• index_es.html
Tour Authoring Model
The author imports 2:1 equirectangular panorama images and configures a tour as a collection of rooms/scenes. Authoring controls support:
• scene-to-scene arrow links and entry-camera orientation;
• titles, room descriptions, logo, branding colors;
• informational hotspots;
• an optional uploaded floor-plan/minimap with location/radar markers.
The editor sidebar is described as the primary authoring surface, while the panorama viewport provides visual placement and preview:
• index.html
• index_es.html
Panorama Rendering and Navigation
Pannellum is the WebGL panorama runtime. It renders the active equirectangular scene, accepts camera orientation changes, and supports navigation through configured room connections. Entry direction is either explicitly authored (“landing view”) or calculated to preserve a north-oriented spatial view. This renderer is entirely client-side and embedded/loaded by the HTML applications:
• index.html
• index_es.html
Local Processing and Project State
Image processing occurs in the browser after drag-and-drop or upload. Tour configuration and uploaded media must remain available in browser memory and/or serialized project data so users can continue editing and generate deliverables. There is no repository evidence of remote storage, authentication, APIs, or collaboration services:
• index.html
• index_es.html
Export Pipeline
The application produces two portable deliverables: a clean static tour-player HTML for viewers and an editable administrator project HTML retaining the editing sidebar/configuration. JSZip provides browser-side archive generation where packaging is required. Exported tours can be opened locally, emailed, or deployed unchanged to static hosting:
• index.html
• index_es.html
Runtime and Deployment
Runtime requirements are a modern browser with WebGL and local file capabilities. Key external libraries are Pannellum, Tailwind CSS, and JSZip. The generated player is static and can be hosted on GitHub Pages, Vercel, S3, Firebase Hosting, Netlify, or conventional shared hosting; none are required for authoring:
• index.html
• index_es.html
Main entry points: index.html Tour project state · index_es.html Spanish builder/exporter
Components 15
Standalone authoring apps
Each HTML document contains its own UI, logic, and embedded dependencies.
- English builder/exporter
index.html - Spanish builder/exporter
index_es.html - Editor sidebar · Primary surface for scene and branding configuration.
index.html - Panorama viewport · Places links and hotspots while previewing scenes.
index.html
Browser runtime
All processing, rendering, state, and export occur locally.
- Image import · Accepts dropped or uploaded equirectangular panoramas and floor plans.
index.html - Local image processing
index.html - Tour project state · Stores scenes, media, links, hotspots, minimap, and branding.
index.html - Scene connections · Defines room links and landing camera orientation.
index.html - Pannellum · Renders active equirectangular scenes and applies camera navigation.
index.html - Hotspots and minimap · Provides information points plus optional floor-plan location and radar markers.
index.html - Export builder · Creates clean player and editable administrator HTML outputs.
index.html - JSZip · Packages exports when an archive is required.
index.html
Portable deliverables
Generated files require only static hosting or local opening.
- Static tour player · Viewer-only portable tour.
index.html - Editable admin project · Retains the editor sidebar and project configuration.
index.html - Local file or static host · No server, API, database, or authentication is required.
Connections 18
- English builder/exporter → Editor sidebar: contains
- Spanish builder/exporter → Editor sidebar: localized equivalent
- English builder/exporter → Panorama viewport: contains
- Editor sidebar → Image import: imports media
- Image import → Local image processing: processes locally
- Local image processing → Tour project state: stores media and config
- Editor sidebar → Tour project state: edits
- Tour project state → Scene connections: defines
- Scene connections → Pannellum: drives navigation and camera
- Tour project state → Hotspots and minimap: configures
- Pannellum → Panorama viewport: renders
- Hotspots and minimap → Panorama viewport: overlays
- Tour project state → Export builder: exports
- Export builder → JSZip: packages when needed
- Export builder → Static tour player: generates
- Export builder → Editable admin project: generates
- Static tour player → Local file or static host: opens or deploys unchanged
- Editable admin project → Local file or static host: opens locally or deploys