Learn to Create WebXR, VR and AR, Experiences Using Three.JS

——   Created by Nicholas Lever

Harness the WebXR API and Three.JS to bring immersive experiences, VR and AR, to the browser, including Oculus Quest

Share this course:

NEW
Course
43
Lessons
4h 52m
Lesson time
intermediate
Skill level

More about this course

Requirements
  • An intermediate level JavaScript ability is assumed

WebXR brings both VR and AR to the browser. The API has the massive forces of Google and Amazon behind it so it looks like immersive experiences, using only a browser, are going to make a huge impact in the near future. WebXR works great with Oculus headsets, including the Oculus Quest 2 and the Chrome Android browser is already supporting the API for both AR, Augmented Reality, and VR, Virtual Reality, experiences. But WebXR only harnesses the sensors on a mobile device and creates an agreed definition of how to use this data. To actually visualise 3D content you need a WebGL library and there is no better one to use than Three.JS. This mature Open Source library has many users around the globe and is supported by many developers. Three.JS is at version 118 at the time of writing and is a robust, production ready library. Recently WebXR support was added to the library. Making it easy for developers to create immersive experiences

In this course you'll learn how easy it is, using Three.JS, to create VR and AR experiences. To get the best from the course you will need to be comfortable with JavaScript coding. No other prerequisites are required. 

The course is split into 10 sections

  1. Introduction - I introduce the history of WebXR, give you a basic primer for those of you new to 3D concepts and show you the Three.JS website and the WebXR examples. 
  2. A Three.JS Primer - is for Three.JS novices to bring you up to speed on the library. 
  3. An introduction to WebXR using Three.JS - we look in earnest at your development environment and create our first WebXR examples
  4. Using complex assets with Three.JS - most things you create for immersive experiences will need complex assets and sourcing, editing, loading and working with them is the subject of section 4. 
  5. The WebXR API - gives a review of the WebXR API. 
  6. Creating an Architectural Walk-Through - in section 6 we start to create real world examples of immersive content with an architectural walk-through. 
  7. Placing a Product in a Room - WebXR lends itself to showing real products in a person’s home and that is the topic for section 7. 
  8. Using WebXR for games - VR is perfect for games and we look at the basic ingredients of a game using WebXR in this section. 
  9. Using WebXR for training - covers the important topic of using VR for training. 
  10. Conclusion - we look at some WebXR examples to inspire you and review what you’ve learnt. 

The only tools you'll need are a code editor, in the course I use Brackets, freely available online. The course includes comprehensive resources and code examples. Each code example comes with two versions, one for you to code along with and another that is complete in case you hit a problem. I show you how to use github to host your development work on a secure server so you can easily test your work on a headset, such as an Oculus Quest

It’s going to be fun.

You get a 30 day money back guarantee, so you're nothing to lose, go virtual today.

Reviews

"This is by far the best guide to Three JS, nothing but fun and clearly explains the parts needed for a 3D app. Thanks Nik for taking the time on this! Can't wait to see where this course take me!"

"Thanks for creating the course" - Mr Doob, the creator of Three.JS

"We all Nik fans were waiting for this one when he previously announced it in the Facebook group. And he didn't disappoint us."

"Best Intro/History Video Ever"

"Love it so far! The lessons are concise and to the point. The videos' length seems quite optimized, meaning they are not terribly long yet are filled with just enough information about what's going on. The supplied course project files constitute a valuable facilitation on the way through the course."

"It starts with the basics and then progress to advanced topics. I like the pace and the explanations. Great course!"

"Great course, love the well-chosen examples, just what I needed!"

Who this course is for:
  • Anyone interested in harnessing the latest WebXR API, to create VR and AR experiences that work in the browser without additional installation requirements.

43 Lessons

Introduction
0:03:40
Welcome to the Course
free preview
0:06:09
The History of WebXR
free preview
0:05:11
A 3D Primer
0:06:14
The THREE.js Examples
A THREE.js Primer
0:06:11
Setting up a simple THREE.js page using modules
0:09:59
Creating a rotating Cube
0:07:36
The THREE.js editor
0:06:30
Geometries
Introducting WebXR with THREE.js
0:05:54
Materials
0:06:45
Loaders
0:05:24
Converting a standard THREE.js web app to use WebXR
0:11:38
Customising the VRButton
View more lessons +
This course is included in Arbington Premium
$15/month gets you access to every course. Start your 14 day trial today. ☝️

Class benefits

  • Certificate of Completion
  • 30 day satisfaction guarantee
  • 24/7 streaming access
  • Direct teacher access
  • 4h 52m of on-demand video
  • 1 downloadable file
  • Have a coupon?

About the instructor

After getting a degree in Graphic Design, I started work in 1980 as a cartoon animator. Buying a Sinclair ZX81 back in 1982 was the start of a migration to a full time programmer. The ZX81 was quickly swapped for the Sinclair Spectrum, a Z80 processor and  …

View full profile

For super learners, get unlimited access for $15 per month

Start your 14 day free trial. Cancel at any time.