Code Monkey home page Code Monkey logo

oculus-rest's Introduction

oculus-rest

A hacky http server providing head tracking data from the oculus rift hmd.

Runs on port 50000, just point your favourite ajax helper at http://localhost:50000 and fetch the json every 10-20ms or so.

The json contains two objects, one contains a quaternion (axis and rotation) the other one contains euler angles (yaw, pitch and roll):

{ quat: { x: 0.1138912, y: 0.0001915, z: 0.0071577, w: 0.993507 }, euler: { y: 0.0020642, p: 0.2282781, r: 0.0146453 } }

The repository contains an XCode project and an Visual Studio solution, it also contains Mac OSX and Windows binaries, that might even work out of the box, maybe.

There's also an modified three.js minecraft example which uses your oculus coordinates to render a oculus friendly stereo image.

oculus-rest's People

Contributors

possan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.