Back in the days of Flash, I’d get to “model” snow a couple of times around Christmas every year. For some animated corporate Christmas cards, usually. So, when the time came to try out the WebVR Boilerplate – that’s what I chose for my first experiment. Gently falling snow.
(The above example is an iFrame – to pop it out for your VR goggles, click here)
The WebVR Boilerplate is a collection of files that does everything you need to do to get something in WebVR up and running, really easy. So that seems perfect for me! The base-state of the boilerplate shows just a rotating cube, in a room defined by a bright green grid. So all I did, to make this demo, was to remove the cube and start coding up the snow!
Lie down under a maple tree, and watch the keys lazily drift down towards you. In your VR goggles, with WebVR!
(This is in an iFrame – to pop it out for your VR goggles, click here)
I’d written a demo using THREE.js some time back, that simulated maple keys falling in the spring. Having secured some VR goggles (Samsung Gear VR with a Galaxy S7), and tried no end of VR experiences, it seemed like I should “port” that demo into an immersive version.
About a week ago, I got my first set of VR goggles. Nothing fancy – it’s the Samsung Gear VR. I explored some of the demos. (great fun!) Some of what I explored was WebVR, which just became available on Gear VR (without the use of “experimental browsers”) a couple of weeks ago – albeit with a “deprecated API”. (which means, an old obsolete version.) Then I took a crack at a tool called A-Frame.
A-Frame makes WebVR easy. Easy peasy. It reminds me of X3DOM – it’s a “declarative language”, so it drives a lot like HTML5. All of the things you declare when you’re using A-Frame get added to the “DOM” (Document Object Model), so everything in your “world” can be accessed and manipulated just like you would the elements on a plain, old-fashioned web page. Which, really, makes a lot of things easy. Easy peasy.
I don’t always try to get to the bottom of a new technology before there’s commercial demand for it. But when I do, it’s because the potential of a technology really stands out. And that’s the case with the dawn of WebVR.
I’d tried a bunch of the WebVR demos on my flat monitor. Yup, that provides a 3D experience like anything from VRML on. But the kick with WebVR is that your 3D stuff can get rendered either on a monitor, or in a VR headset.
If 87% of VR headsets in consumers’ hands (or on their heads) are mobile VR – then the experiences we create will have to give good UX on mobile VR.
I’m a web guy, and I’m fascinated by the onset of VR. And as a web guy, I’m convinced that mobile VR will be essential to the 3D web.
I was considering picking up some of the high-end VR goggles and experimenting with technologies like WebVR. Trouble is, the high-end ones need a heavy-duty computer to even function.
The “easy way” to get into VR these days is with mobile VR. Mobile VR is really just a piece of plastic (or cardboard) with some lenses that you attach to your smartphone, to experience “low end” VR.
Based on a number of factors, I’ve decided to take the plunge into mobile VR, and leave that high-end stuff alone for now.
First up – the web is already mobile. Much of the last decade has been spent coming to grips with the fact that people use the web everywhere on all manner of hardware. The way websites are built has evolved considerably to take this into account.
So you’re a web developer, and you’ve been hearing things about VR. I’m also a web developer, and I’ve also been hearing things about VR! And I’ve been blogging about it. Not just VR – but how VR is very likely to soon become both a crisis and an opportunity for web developers. So what are the prospects for VR for web developers?
Today is April 8, 2016. The Oculus Rift and the HTC Vive both tried to start shipping in the last couple of weeks – and it’s been a bit of a mess. But even so, eager early adopters have raved up and down that this revolutionary technology finally actually works.
Given that VR goggles have been available to consumers for DAYS, not even weeks, and given that the only people who have even heard of the Oculus Rift are gamers and sports fans, I think all the pessimism about a “virtual reality web” may be a little bit premature. Or so I’d like to think, anyway.
I saw this article today about a “virtual reality web” – and was amazed at both how forward-thinking, and pessimistic it was.
The opening paragraph paints a pretty elaborate picture of something that’s, well, science fiction:
“What if you could browse the web in virtual reality? Just imagine the potential. Hyperlinks could take you not to Wikipedia pages about history, but right to the landscapes of ancient cultures, immersing you in plagues and art and war. Recipe sites could give you smell-o-vision cooking simulations. Message boards could become face-to-face chats. The web as we know it could become tangible, interactive, and more immersive than ever.”