Deploy a VR experience before you leave today
π create VR and AR experiences
π€ with open web technologies
π and deliver them through the browser
WebGL β existing browser API for 3D in browser
+
WebXR β new API for interacting with 3D scenes
from modern devices
"It's just a web pageβ¦"
π Viewable on any device with a browser
π Reuses existing web tools and skills
π Easy to integrate with existing web content
π¨βπ¬ Experimental technology
π’ Performance is worse than native
πΎ Actuallyβ¦ it's a bit more than a web page
π΅ WebGL is complicated
π€ three.js is simpler, but still complicated
π Physics is hard
"VR Legos." Custom elements that abstract three.js objects.
π Super simple to get started
β‘οΈ Hundreds of plugins on NPM
β€οΈ Supported by Mozilla
Full game engine with physics and more.
var createScene = function() {
var scene = new BABYLON.Scene(engine);
var camera = new BABYLON.ArcRotateCamera(
"Camera", Math.PI / 2, Math.PI / 2, 2, BABYLON.Vector3.Zero(), scene
);
camera.attachControl(canvas, true);
var sphere = BABYLON.MeshBuilder.CreateSphere(
"sphere", { diameter: 2 }, scene
);
return scene;
};
π "Batteries included" framework
β¨ Extensive docs and code playground
β€οΈ Supported by Microsoft