No description
- JavaScript 55.5%
- CSS 38.4%
- HTML 6.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Build and Deploy Hugo / build-and-deploy (push) Successful in 30s
|
||
| .forgejo/workflows | ||
| 360 images | ||
| img | ||
| tiles | ||
| vendor | ||
| .nojekyll | ||
| data.js | ||
| index.html | ||
| index.js | ||
| README.md | ||
| style.css | ||
USDA 360 Virtual Tour
An interactive 360° lab tour built with Marzipano and served as static files (e.g. GitHub Pages or a custom domain).
Marzipano documentation
- Documentation — How to initialize the viewer, create scenes, change scenes and views, autorotate, and hotspots.
- API reference — Detailed classes (
Viewer,Scene,RectilinearView, etc.) for deeper customization beyond the Marzipano Tool export.
This repo extends the default export (scene order, autoplay, transitions, hotspot styling, embedded video) in index.js, data.js, and style.css.
Project structure
360 images/— Source 360° panoramas (optional reference for authoring).index.html,index.js,data.js,style.css— Tour app (root is the site entry).vendor/— Marzipano and bundled dependencies.tiles/,img/— Panorama tiles and UI icons (from the Marzipano export).
Updating the tour
- Edit the project in Marzipano and export the web bundle.
- Replace
tiles/,img/, and any changeddata.js/vendor/files at the repo root (same layout Marzipano generates). - Re-apply or merge custom edits in
index.js/style.cssif you replace those files from a fresh export.
GitHub Pages / hosting
- Repo: Settings → Pages → deploy from branch main (or your default), folder / (root).
- The tour loads at
https://<user>.github.io/USDA-360-virtual-tour/or your custom domain path with nomarzipano-export/segment. .nojekyllis included so GitHub does not run Jekyll on the branch; panorama tiles are published as-is.
Commit tiles/, img/, and vendor/ if the live site is missing imagery—those folders must be in the remote repo.
Legacy URL: marzipano-export/index.html only redirects to the parent folder so old /marzipano-export/ links still work. You can delete that folder after search engines and bookmarks update.
No build step is required.