World Congress 2021 Jun 30, 2021

Live Coding an Augmented Reality Game with WebXR

Christian Grail

Spatial computing could completely replace physical monitors within a decade. Front-run this revolution by live coding an interactive WebXR game using a few lines of Three.js.

Pause
Mute Enter Fullscreen
#1 about 6 min

Moving from enterprise software to virtual reality interfaces

Translating dense business workflows into immersive three-dimensional environments simplifies spatial pattern discovery but introduces extreme physical isolation.

#2 about 2 min

Transitioning from virtual to augmented reality

Maintaining the surrounding physical context with augmented reality prevents collisions and disorientation inherent to fully opaque virtual simulations.

#3 about 4 min

Evolution from marker-based to markerless tracking

Replacing static reference codes with computational contrast scanning delivers seamless spatial tracking without restrictive printouts.

#4 about 4 min

WebXR standards and current hardware capabilities

Standardizing spatial web APIs via WebXR circumvents rigid mobile app installations while integrating automated depth-scanning capabilities.

#5 about 3 min

Setting up a WebXR scene with Three.js

Initializing a fundamental three-dimensional canvas inside the browser prepares the foundational matrix to support custom immersive rendering.

#6 about 4 min

Constructing and positioning primitive shapes in space

Defining dimensional box properties and mapping coordinate controllers plots new physical boundaries securely inside the running projection.

#7 about 4 min

Animating spatial objects using interpolation tweens

Creating programmatic tween timelines simplifies smooth vector transformations needed to propel geometries cleanly across a rendered scale.

#8 about 4 min

Loading and transforming complex external 3d assets

Injecting modular model files dynamically into customized coordinates embeds dense polygon assets without crashing lightweight rendering pipelines.

#9 about 3 min

Programming object hit detection and audio feedback

Tracking bounding box intersections triggers synchronized conditional scripts to instantly swap target visuals and execute complementary audio files.

#10 about 6 min

Hardware ergonomics and the future of spatial computing

Replacing cumbersome handheld smartphones with localized wearable optics guarantees a comfortable pathway to daily immersive interface adoption.

#11 about 10 min

Community questions on WebXR development and hardware

Addressing early integration bottlenecks highlights viable hardware simulators and necessary plugin architectures before deploying final spatial code.

Matching moments

2:13 min

Introduction to enhanced internet using WebXR technology

Desiree Santos Desiree Santos +1 · WWC 2024

3:00 min

Choosing appropriate frameworks and development tools for WebXR

Desiree Santos Desiree Santos +1 · WWC 2024

2:47 min

Architectural pathways for cross-platform mixed reality development

Mario Petricevic · WWC 2024

2:29 min

Debunking XR misconceptions with practical manufacturing examples

rafek rafek · WWC 2024

2:09 min

Introduction to building iOS augmented reality applications

Nermin Sehic · LIVE

3:22 min

Reviewing community applications and interactive experiences built with a-frame

Drishti Jain · LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

From Software Agents to Physical Devices: Inside the Agentic Hardware Stack

Michael Yuan, Vivian Hu

Michael Yuan
Vivian Hu
Open session

World Congress 2026 North America

Small LLM in your Browser: Huge Opportunities for Web Applications

Daniel Ostrovsky

UI/UX Architect at Payoneer | AI Architect | Full Cycle Development Expert | Public Speaker | Open Source Contributor |

Daniel Ostrovsky
Open session

World Congress 2026 North America

Vibe Coding Accessibility

Karl Groves

Focused on actively fixing accessibility

Karl Groves
Open session

World Congress 2026 North America

Building Stuff with GenAI - The Open Minded Workshop beyond OpenAI

Andreas Erben

CTO for Applied AI and Metaverse at daenet

Andreas Erben
Open session

World Congress 2026 North America

GitHub’s Team X-Ray: Your Repository Knows More About Your Team Than Your Team Does

Andrea Griffiths

Senior Developer Advocate

Andrea Griffiths
Open session

World Congress 2026 North America

Fast by Design: A Masterclass in High-Performance Web Engineering

Aaron Grogg

Senior web developer, committed to improving the user experience by improving web performance

Aaron Grogg