WebVR & A-Frame

Bringing Virtual Reality to the Web

Mukesh Pathak

  • Founder/CEO Indian Achievers Story
  • Mozilla Reps
  • Web Developer
  • Cyber Security Expert
  • Ethical Hacker
  • @MikeMozmicky
  • www.indianachieversstory.com
  • mukeshpathak345@gmail.com

Activate Mozilla Community

This campaign aims at the grassroots of volunteer contributions. We want to bring more clarity on what are the most important areas to contribute to at Mozilla right now.

Activate Mozilla Community

How to Start

  • FIREFOX STUDENT AMBASSADOR (FSA)

  • Mozilla Campus Club

  • LOCAL COMMUNITY MEMBER (MOZILLIAN)

  • MOZILLA REPRESENTATIVES (ReMo)

  • REPS MENTORS

  • COUNCIL

Virtual Reality

Virtual Reality is the use of computer technology to create a simulated environment.

Hardware

Friction of VR Ecosystems

Gatekeepers

Installs

Closed

WebVR

An open virtual reality platform with the advantages of the Web

Open

Connected

Instant

Standard browser APIs that enable WebGL rendering to headsets and access to VR sensors. https://w3c.github.io/webvr/

Browser Support

Firefox

Nightly

Chromium (Experimental)

Samsung Internet

Mobile Polyfill

A-Frame

A web framework for building virtual reality experiences with HTML

Basic Structure of A-Frame

Gatekeepers

Installs

Closed

<html>
 <head>
 <script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
 </head>
 <body>
    <a-scene>
      
    </a-scene>
 </body>
</html>

Hello World

Gatekeepers

Installs

Closed

<html>
<head>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
<a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere>
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder>
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>
<a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>

Hello World

Gatekeepers

Installs

Closed

Languages & Tools We Know

Gatekeepers

Installs

Closed

  • HTML
  • JavaScript and DOM APIs
  • Integrates with existing frameworks and libraries

Works With Everything

Gatekeepers

Installs

Closed

d3.js

vue.js

React & Redux

Tools We Know

Gatekeepers

Installs

Closed

MagicaVoxel

Blender

Maya

Entity-Component-System

Gatekeepers

Installs

Closed

  • Composable, reusable, sharable bits of code
  • All the power of JavaScript, three.js, and WebGL
  • Developers empower other developers

Composing an Entity

Gatekeepers

Installs

Closed

<a-entity></a-entity>
<a-entity geometry="primitive: plane; height: 10000; width: 10000" 
               rotation="-90 0 0">

Registry

Inspector

<ctrl>+<alt>+i.

Community

  • Github: 500+ contributors, 5000+ stargazers
  • Slack: 10000+ members
  • Content: Hundreds of projects featured on awesome-aframe repository and A Week of A-Frame
  • StackOverflow: Community is very active on StackOverflow also

Art - A-Painter

Give us your feedback?

 

 

mzl.la/howwasit

Links

Thanks !

WebVR

By Mukesh Pathak

WebVR

An open virtual reality platform with the advantages of the Web

  • 127