/aframe-experiment2

VR experiments

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Jim's AFrame experiments


Experimentation Summary

Bringing Light to WebVR with AFrame

Getting started

In one terminal window:

npm i ; grunt

In another:

node server/index.js

Duck Hunt

duckhunt gif

See it on YouTube

  1. On your viewer device, go to http://localhost:3000/duckhunt.html

  2. On your controller device, go to http://localhost:3000/controller.html

  3. Select the gyronorm controller mode

  4. Select the socketio network mode

  5. You need to align both the viewer and the controller in the same orientation, if they get out of sync, you will need to long-press on the controller to reset it.

On your viewer, you need to face north as you re-sync.


Learnings

   px   py
     \  |
      \ |
       \|
 pz-----*----> nz
        |\
        | \
        |  \
        ny  nx


  -->   indicates direction of camera relative to the inside faces of
        the cubemap

Existing VR Guidelines

Blender Recap

Notable AFrame projects

AR libraries

Duck hunt resources

Conduit tech

npm install selenium-standalone@latest -g
selenium-standalone install
selenium-standalone start
node server/index.js
npm install webdriverio --save-dev

Contact & License

All code here is GPLv2 licensed. Copyright 2016 Jim Yang (jim.yang@thisplace.com)