Christian Grail
Live Coding an Augmented Reality Game with WebXR
#1about 7 minutes
Exploring AR and VR for enterprise data visualization
Past projects demonstrate using handwriting chatbots and virtual reality to interact with and visualize large enterprise datasets from different angles.
#2about 1 minute
Understanding the core differences between AR and VR
Augmented reality enhances your real-world environment by adding virtual objects, whereas virtual reality completely replaces it with a simulated one.
#3about 3 minutes
The evolution from marker-based to markerless AR
Early augmented reality relied on physical markers like QR codes, but modern markerless AR uses device sensors to dynamically find anchors in the environment.
#4about 3 minutes
The WebXR standard and its browser ecosystem
The WebXR standard unifies web-based AR and VR, with growing support in browsers like Chrome and future adoption expected in Safari.
#5about 3 minutes
Setting up a WebXR project with Three.js
A basic WebXR application is initialized using Three.js to manage the 3D scene, camera, renderer, lighting, and the AR session button.
#6about 3 minutes
Creating and placing 3D objects in an AR scene
Learn to create a 3D object using Three.js geometry and materials, then position and orient it in the real world based on user touch input.
#7about 3 minutes
Animating 3D objects in WebXR using tweening
Use a tweening library to smoothly animate an object's position from a starting point to an end point and remove it from the scene upon completion.
#8about 6 minutes
Implementing collision detection and game logic
Load a 3D model, check for intersections between its bounding box and another object, and trigger game events like explosions and sounds on collision.
#9about 5 minutes
The future of AR hardware and 3D interfaces
The next evolution in AR will be lightweight glasses that replace physical screens with large virtual displays, leading to a future of 3D user interfaces.
#10about 9 minutes
Getting started with WebXR development
The Q&A covers recommended resources like Mozilla's WebXR examples, using TypeScript with Three.js, and simulating AR experiences with a Chrome extension.
Related jobs
Jobs that call for the skills explored in this talk.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Matching moments
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
04:17 MIN
Playing a game of real or fake tech headlines
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
09:38 MIN
Technical challenges of shipping a cross-platform browser
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
04:56 MIN
Recreating React components using AI and dev tools
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
07:12 MIN
Ensuring accurate testing across different browsers and devices
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
05:26 MIN
Using AI prompts to rebuild a classic 8-bit game
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
Featured Partners
Related Videos
WebXR: Enabling Virtual and Augmented Reality on the Web
Desireé Santos & Erick Henrique
XR Demystified: Separating Facts from Fiction in 2024
Rafał Legiędź
Cross platform Augmented Reality development with React Native
Vladimir Novick
Virtual Reality – The path to create your world
Drishti Jain
Apple Vision Pro: Proven Development Methods Meet the Latest Technology
Mario Petricevic
AR Kit intro - placing 3D objects in a scene and interacting with them in real-time
Nermin Sehic
Unleashing a New Reality: The Transformative Power of XR Technologies for Developers
Bastian Schütz
Coding an Immersive Copilot using Unity / .NET and Azure OpenAI!
Zaid Zaim
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript



NOVΛVERSE
Charing Cross, United Kingdom
Senior
API
WebGL
React
DevOps
Python
+9


Snap Switzerland Zweigniederlassung Zürich
Zürich, Switzerland
Senior
API
C++
Java
Kotlin


