Virtual Reality comes closer to the Web with React VR

At Oculus Connect 3, Oculus, the virtual reality giant, announced that they are working on something pretty awesome regarding virtual reality! They like to call it as “WebVR” ie. Virtual Reality for the Web! This certainly is something which should excite a virtual reality developer. Though it is worth mentioning that this is currently in preview mode and not many browsers support it. But it does give us a glimpse of how the APIs would look like down the line. Another interesting thing to note is that these APIs can be seamlessly used with VR devices, and they promise a seamless frame rate of 60 fps on the Web. This could very well be the future of the web, and might also define how we scroll and view immersive content. Both Oculus and Facebook have vested interests in that section.

And now that they have launched a React VR pre-Release, all the Javascript developers are going nuts! First client-side, then node.js, then Cordova, React, React-Native…. and now one can build Virtual Reality apps and games using Javascript. Such a crazy Javascript dominated world we are living in.

- Advertisement -

Technical Stack of ReactVR by Facebook Incubator
Technical Stack of ReactVR

ReactVR stands on the shoulders of the best JS libraries for 3D rendering and it has been optimised for hardware usage. These can be utilised to very easily develop virtual reality games and applications.

“It [ReactVR] combines the clarity of components together with code that controls them” -Michael Antonov — Chief Software Architect @ Oculus

This WebVR project (codenamed “Carmel”) will be available from 13th Dec 2016 for trial. Oculus’ blog posts explain the getting started process for a developer. Just like Facebook’s React framework, Oculus provides a bunch of components to plug and play. These components are very customizable and well documented. It is also worth noting that Oculus has not open-sourced the project for contributions. And there seems no news of that happening in the near future either. They do have an issues-only Github repository.

Microsoft has also been venturing the domains of augmented reality with “Mixed Reality” and HoloLens. It seems that every major company is trying to “bring the (virtual) world closer” and the future of the web is clearly not restricted to laptops and mobiles.

Here is the stream of the event if you are interested:

 

I recommend everyone to try out the preview and play around with it to build something cool! Do let us know about what you would be building with it.

Recent Articles

How to sort a Set in JavaScript

ES6 introduced the set data structure in JavaScript. But sets are not ordered abstract data structures. So there is no .sort() property...

Debugging CSS scroll using one simple style

I have been doing a lot of complicated front-end work off lately and that always brings me back to the class conundrum...

CSS :has a parent selector now

CSS now includes a :has selector that allows us to apply styles on the basis of what is happening inside an element....

How to fix “invalid active developer path” after MacOS update

If you are here, then you are getting an "invalid active developer path" error on running commands in the terminal after a...

Getting the value of an input element as a number without parseInt

Every once in a while, you come across something and you think, how did I not know this earlier? valueAsNumber is that thing...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Hi there! Want some more knowledge?

Think that the knowledge shared is helpful? You might want to give our mailing list a try. We'll send you 2-4 emails a month, right when new posts come out.