By Alastair Beeson
What is Glitch?
First go to https://glitch.com/
Register for an Account
Once registered, navigate to New Projects
Select your project type, in this case we recommend "glitch-hello-website" as this works best for A-Frame apps and makes things super simple
The project will come with stencil HTML and CSS pages
Make sure to delete any code in those pages
Paste the code below, sourced from A-Frame, into you empty index.html file:
Now if you use the preview window or your hosted app URL. If you see the scene below, congrats you have completed the Hello World of WebXR and A-Frame. This is an example that sets up a simple A-Scene with an A-Plane, A-Sky and several primitive shapes like A-Box, A-Sphere and A-Cylinder.
Lots of A-Frame components will come with example demos can you can easily upload and experiment with on websites like Glitch.