Giter Club home page Giter Club logo

webvr-boilerplate's Introduction

WebVR Boilerplate

A THREE.js-based starting point for VR experiences that work well in both Google Cardboard and other VR headsets. Also provides a fallback for experiencing the same content without requiring a VR device.

This project relies heavily on the webvr-polyfill to provide VR support if the WebVR API is not implemented.

Projects that use the webvr-polyfill or webvr-boilerplate

Assorted platforms:

  • A-Frame - Building blocks for the virtual reality web
  • Archilogic - Floor plans into 3D virtual tours
  • Vizor - Create and share VR in your browser

Assorted real-world examples:

  • Breakthrough - Cutting-edge science that will change our lives in the very near future (by National Geographic)
  • Chinese New Year - Create a virtual lantern and share your wishes (by Google)
  • Discovering Gale Crater - A virtual reality audio tour of the Gale Crater (by LA Times)
  • Sechelt - A visualization of an inlet near the town of Sechelt, BC (by Mozilla)

Assorted samples:

  • WebVR 1.0 Samples - Simple example applications to demonstrate various aspects of the WebVR API

Features

As of WebVR 1.0, this project relies on the polyfill for even more. Core features like lens distortion and device detection have moved into the polyfill. This project now acts as a getting started example, and provides a reasonable user experience for getting in and out of Virtual Reality and Magic Window modes.

As a convenience, the WebVRManager emits certain modechange events, which can be subscribed using manager.on('modechange', callback).

Getting started

The easiest way to start is to fork this repository or copy its contents into a new directory.

The boilerplate is also available via npm. Easy install:

npm install webvr-boilerplate

Thanks

webvr-boilerplate's People

Contributors

borismus avatar brianpeiris avatar dmitriykovalev avatar brianchirls avatar jensarps avatar caseyyee avatar njam avatar cvan avatar jzitelli avatar nh2 avatar panuhorsmalahti avatar scottgwald avatar

Watchers

James Cloos 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.