Skip to main content
Apress
Book cover

AR and VR Using the WebXR API

Learn to Create Immersive Content with WebGL, Three.js, and A-Frame

  • Book
  • © 2021

Overview

  • Features the latest version Web XR API (updated on April 21, 2020 though not yet released to the public)

  • Offers instruction on WebGL, Three.js, A-Frame, and Babylon.js all-in-one

  • Extends skills commonly developed in expensive coding boot camps

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (10 chapters)

Keywords

About this book

Gain an in-depth knowledge in immersive web development to create augmented reality (AR) and virtual reality (VR) applications inside web browsers using WebXR API, WebGL, Three.js, and A-Frame. This project-based book will provide the practice and portfolio content to make the most of what the futures of spatial computing and immersive technology have to offer.

Beginning with technical analysis of how web browsers function, the book covers programming languages such as WebGL, JavaScript, and HTML, with an eye on a complete understanding of the WebXR lifecycle. You'll then explore how contemporary web browsers work at the code level and see how to set up a local development server and use it with the Visual Studio Code IDE to create 3D animation in the WebGL programming language.  

With a familiarity of the web-rendering pipeline in place, you’ll venture on to WebGL abstractions such as the Three.js JavaScript library and Mozilla’s A-Frame XR Framework, which use WebXR to create high-end visual effects.  In the final projects of the book, you’ll create an augmented reality web session for an Android phone device, and create a VR scene in A-Frame (built on Three.js) to demo essential components of the WebXR API pertaining to user positioning and interaction.

Game engines have become common-place for the creation of mixed reality content.  However, developers not interested in learning entirely new workflows may be better suited to work within a medium almost universally open to all—the web; AR and VR Using the WebXR API will show you the way.


What You'll Learn

  • Master the creation of virtual reality and augmented reality features for web page
  • Prepare to work as an immersive web developer with a portfolio of projects in sought-after technologies
  • Review the fundamentals of writing shaders in WebGL
  • Experience the unity between client, server, and cloud architecture as it applies to location-based AR

Who This Book Is For



Aspiring immersive web developers and developers already familiar with the fundamentals of web development who want to further explore topics such as spatial computing, computer vision, spatial anchors, and cloud-computing for multi-user social experiences.


Authors and Affiliations

  • Brookfield, USA

    Rakesh Baruah

About the author

Rakesh Baruah is a writer and creator with 15 years of experience in new media, film, and television in New York City.  After completing an MFA in screenwriting and directing for film from Columbia University, Rakesh joined the writers’ room of a hit, primetime, network drama as an assistant. The experience opened his eyes to the limits of television and the opportunities promised by 3D, immersive content. In 2016 he began a self-guided journey toward mixed reality design that has taken him through startups, bootcamps, the Microsoft offices, and many, many hours in front of a computer.  He is the author of one previous book on virtual reality and the Unity Game Engine and has received an Nvidia-certified nanodegree in Computer Vision.  He shares what he’s learned with you in a style and format designed specifically for the person who, in high school, preferred English class to Trigonometry.

Bibliographic Information

  • Book Title: AR and VR Using the WebXR API

  • Book Subtitle: Learn to Create Immersive Content with WebGL, Three.js, and A-Frame

  • Authors: Rakesh Baruah

  • DOI: https://doi.org/10.1007/978-1-4842-6318-1

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Rakesh Baruah 2021

  • Softcover ISBN: 978-1-4842-6317-4Published: 01 December 2020

  • eBook ISBN: 978-1-4842-6318-1Published: 30 November 2020

  • Edition Number: 1

  • Number of Pages: XXIII, 328

  • Number of Illustrations: 48 b/w illustrations

  • Topics: Web Development, Game Development

Publish with us