Virtual Reality

with A-Frame

ASP

Andrzej Mazur@end3rEnclave Games
Academy of Fine Arts in Warsaw, Poland, October 27th 2017

Andrzej Mazur

Andrzej Mazur

Devices

History of VR

View Master

View Master (1939)

History of VR

Project Headsight

Project Headsight (1961)

VR in pop culture

Star Trek - Holodeck

Tron (1982), Star Trek (1987), Matrix (1999)

VR gaming history

Sega VR

Sega Genesis (1991)

VR gaming history

Virtua racing

Virtua Racing (1993)

Modern times

Military use of Oculus

Norvegian Army (2014)

What's WebVR?

WebVR

Browser APIs that enable WebGL rendering to headsets and access to VR sensors.

Why WebVR?

Power of the Web

Progressive enhancement

Sechelt

tiny.cc/sechelt

WebVR browser support

Browsers

Documentation status

Editor's Draft

w3c.github.io/webvr

more info: mozvr.com, webvr.info.

Is WebVR Ready?

webvr.rocks

WebVR boilerplate

Stuff is hard

A-Frame to the rescue!

A-Frame

Cube example

A-Frame cube

Cube example

<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>A-Frame demo - cube</title>
  <script src="aframe.min.js"></script>
</head>
<body>
  <a-scene>
    <a-cube color="#0095DD" position="0 1 0" rotation="20 40 0"></a-cube>
  </a-scene>
</body>
</html>

Entity Component System

Registry

Shapes

A-Frame shapes

A-Break

A-Break

Inspector

A-Frame inspector

Ctrl + Alt + i

Hologram

Hologram

hologram.cool

Showcase

A week of A-Frame

A-Painter

A-Painter

aframe.io/a-painter/

A-Blast

A-Blast

aframe.io/a-blast/

A Saturday Night

A Saturday Night

aframe.io/a-saturday-night/

Journey to Mars

City Builder

Data Visualization

AR.js

A week of A-Frame

aframe.io/blog

Lessons learned

Input

Oculus Touch

Keyboard and mouse, Leap Motion, Gamepad API, Device Orientation...

Totally new UX and UI

Minority Report

Motion sickness

Motion sickness

Framerate, camera, horizon... nose?

New 360 view

Polar Sea

Give reasons to look around.

Immersion over gameplay & gfx

Rainbow Membrane

You have to be "inside".

js13kGames

js13kGames 2017

js13kgames.com/aframe

Where to go next?

Go and build the future of the Web!

Find out how millions of people will use it.

Thanks! Questions?

 

 

end3r.com/slides/asp-aframe

 

 

Andrzej Mazur@end3rEnclave Games

Ender Efka @end3r