My first experiment with A-Frame

A screenshot of a primitive three dimensional scene lit with pink and green lights

Lab work

A little 3D environment with two cameras and two light switches

Lab notes

For users:

  1. Move around with the keyboard or mobile motion detection
  2. Switch cameras and turn lights on and off
  3. This is a quick experiment but if you'd like to raise issues please do

For developers:

  1. This was built with A-Frame WebGL library
  2. It took a couple of days at most. A-Frame is very easy to get started with
  3. There is no "collision physics" in here so you can run through anything
  4. The code is here ⚠️ Warning: quick and dirty code


Spotted a typo? Edit on Github


Unless otherwise stated I am the creator of all the text, images and code.

Generally I'm happy to share but let's talk first if you want to license or commercialise any of it

© 2023 Laurence Lord