CONTEXT

A spatial interface for exploring connected knowledge.

Inspiration

I've been fascinated by the Smithsonian's Open Access collection for years. Millions of records are available, but I found it challenging to understand what was actually there. How much of it is visual? What kinds of objects are represented? What relationships or stories might emerge from the data?

I built a Three.js data explorer to find out. Exploring metadata, filtering collections, and visualizing connections revealed both the scale of the content and the complexity of its relationships. Even overlapping categories like "sculpture" and "stone sculpture" raised interesting questions about how information is organized and discovered.

My previous projects, CONNECTOME and CONSTELLATIONS, explore point-based relationships through spatial, interactive art. I've spent quite a bit of time thinking about how connections can become experiences. The Smithsonian dataset offered an opportunity to apply those ideas to a vast collection of real-world information.

That led to CONTEXT, and a simple question:

What if you could step inside a collection, experience its scale, and follow the relationships that make it interesting?

What it does

CONTEXT is a spatial data explorer that transforms connected information into immersive environments.

It begins with a choice of data providers, followed by a lobby showing their collections and key statistics. From there, each object becomes the center of its own explorable space.

The environment organizes information around you:

  • Ahead: The selected object, with its description and details.
  • Adjacent: Related people, places, objects, and concepts displayed as attached tiles.
  • Above: Your navigation history, allowing you to retrace your steps.
  • Farther out: Up to a thousand related images, revealing the breadth of the collection.
  • Far below: The entire collection as a landscape of light, with each point representing an object, organized by date and museum.
  • In the sky: Floating highlights and observations drawn from the data, providing context, scale, and meaningful insights.

The environment also takes its color from the selected artwork. Images can be brought forward and examined at full resolution using a two-hand pinch gesture.

I wanted the experience to feel curated, like visiting a museum, but without recreating the physical layout of one. I'm more interested in what digitally native, spatial interfaces make possible than in reproducing familiar physical environments.

Select an adjacent tile and you see a new collection of related content, following a thread through the collection.

The Smithsonian experience includes 148,441 records from seven museums. CONTEXT also supports a small Project Gutenberg dataset, demonstrating how the same interaction model can work with text-based content.

The WebXR experience runs directly in the Meta Quest Browser, without installing an app.

contextapp.parietallab.com

How I built it

Starting with the data

I began on the desktop with Three.js, using DuckDB to process Smithsonian Open Access data into Parquet files. I built a graph of relationships across people, places, topics, materials, and time periods.

The desktop explorer became a design lab for understanding the data and experimenting with spatial navigation.

From desktop to immersive space

I developed a first-person Atrium environment using real-world measurements for layout, typography, distance, and motion. A written specification describes the experience in enough detail to reproduce it across different implementations.

The original competition build was planned in Unity. I began a parallel WebXR implementation using Meta's Immersive Web SDK, initially as a fallback in case the Unity version wasn't ready in time.

WebXR turned out to be a much more effective environment for rapid iteration. I could make changes, test them immediately in the headset, and refine the experience at a higher level of fidelity than I'd been able to achieve in Unity within the available time. What began as a backup quickly became the primary development track and ultimately the competition submission.

The WebXR version shares layout, data, and motion modules with the desktop Three.js prototype, while Unity follows the same specifications. Insights from headset testing continue to inform both implementations.

I still see Unity as an important part of CONTEXT's future. Its native rendering capabilities offer the potential for a higher-fidelity immersive experience over the longer term. But for this competition, WebXR gave me the speed and visual quality I needed to realize the experience.

Building with AI coding agents

I worked with AI coding agents across the different development tracks, coordinating through shared specifications, written handoffs, CLIs, and testing on a Quest 3.

This approach made parallel development possible while keeping the interaction and visual design consistent.

Infrastructure and tools

The WebXR application is hosted on Cloudflare. A Worker retrieves and caches Smithsonian imagery in R2, reducing repeated requests to the museum's servers. DuckDB-WASM supports browser-based data queries.

I also built a spectator mirror that recreates the headset's environment on a desktop page, synchronizing headset movement and allowing orchestrated, keyframed camera movements to support recording through OBS.

Challenges

Readability in VR. Information-heavy experiences depend on clear typography. Canvas-rendered text wasn't sharp enough, so I moved to distance-field text rendering.

Headset-specific rendering. Images flickered on Quest despite working correctly on desktop. The issue came from deferred texture uploads under multiview rendering, resolved by uploading textures before rendering.

Memory and performance. Displaying a thousand images while supporting full-resolution inspection initially caused browser crashes. Image sizing, loading priorities, and caching required careful optimization.

Responsible data access. Early image requests triggered temporary blocking by the Smithsonian's service. Throttling and Cloudflare R2 caching reduced redundant traffic.

Parallel implementations. Maintaining consistency across desktop, WebXR, and Unity required precise spatial specifications and continual testing on actual hardware.

Accomplishments that I'm proud of

Bringing this Smithsonian content to life in an immersive form feels great. Being able to follow threads of related content is exactly what I hoped would be possible.

I'm also pleased with the data-provider architecture. The Smithsonian and Project Gutenberg contain very different kinds of information, yet both can be explored through the same spatial interaction model.

This was my first experience building for WebVR instead of Unity and I'm really pleased with the quality/results.

What I learned

Building CONTEXT reinforced something I've learned through previous spatial projects: an experience that works on a monitor can feel very different when you're standing inside it. Typography, distances, motion, and visual density all have to be evaluated in the headset.

I also found that the data itself influenced the design. Discovering relationships, overlapping categories, collection sizes, and unexpected patterns suggested ways of organizing the environment that I hadn't initially imagined.

I do think each dataset will surface new needs or lead to alternative views. I like the idea of a universal viewer that transcends content, but I'm open to evolving as the content demands.

What's next

We're surrounded by more information than we can reasonably comprehend, and the volume is accelerating.

The name CONTEXT reflects that broader challenge. Context has become fundamental to how we interact with AI, language models, and information systems. But it's also what gives individual pieces of information their meaning.

CONTEXT began as a way to explore the Smithsonian, but it leaves me with a much bigger question:

Can we develop better ways to make sense of the sea of information we're immersed in?

There's room for entertainment, learning, curiosity, and insight in the same kind of experience.

This is an early experiment in what that might look like.


Built with

Three.js · JavaScript · WebXR · Meta Immersive Web SDK · DuckDB · DuckDB-WASM · Apache Parquet · Cloudflare Workers · R2 · Smithsonian Open Access · Project Gutenberg · Unity / C# (parallel implementation)

CONTEXT is an independent project by Grant Hinkson and Parietal Lab.

Built With

  • apache-parquet
  • canvas-2d
  • claude
  • cloudflare-d1
  • cloudflare-r2
  • cloudflare-tunnel
  • cloudflare-workers
  • duckdb-wasm
  • glsl-shaders
  • meta-immersive-web-sdk-(iwsdk)
  • node.js
  • obs-studio
  • playwright
  • pmndrs-uikit
  • project-gutenberg
  • quest-browser
  • smithsonian-open-access-api
  • three.js
  • troika-three-text
  • typescript
  • vite
  • web-audio-api
  • webxr
  • wrangler
Share this project:

Updates