Siebel Labs

Experiments ·

ExhibitionTourJS

A 3D gallery room built with Three.js. Pictures hang in real frames and passepartouts, visitors walk from work to work, and a click opens a detail view.

Stack
TypeScript, Three.js, Web Components, Vite
Source
github.com/Skarabaeus/ExhibitionTourJS

What it is

A virtual exhibition you can embed in any website. Pictures hang on the walls of a 3D room in frames and passepartouts. Visitors either follow a guided tour from work to work or walk around freely, and clicking a picture opens a fullscreen detail view with text and links.

How it’s built

  • Web component: <exhibition-tour src="/exhibition.json"> works on any site. A standalone build with Three.js bundled in needs no bundler.
  • Exhibition JSON: describes the room (size, wall color, floor) and each artwork: image, size in meters, wall, position, hanging height, frame preset, passepartout, wall label and details.
  • Extras: a floor plan showing where you are, multiple levels, lazy loading, and a JavaScript API with methods and events for custom integrations.
  • Fallback: without WebGL it shows a thumbnail grid with the lightbox, or your own server-rendered list of the works.
  • Astro example: artworks as Markdown files in a content collection and exhibitions as JSON files, with a drop-in ExhibitionTour.astro wrapper.

← All projects