Skip to content
forked from aframevr/aframe

A web framework for building virtual reality experiences.

License

Notifications You must be signed in to change notification settings

evoinsec/aframe

Repository files navigation

VR MARKUP Build Status

The goal of this project is to design a set of HTML tags to describe 3D scenes in the browser.

We use three.js to render the new tags but the aim is to provide a way to declare 3D scenes independent from the rendering engine.

Usage

NOTE: For folks creating scenes and third-party components, we recommend getting started by instead using the vr-components library, a set of core resuable components.

Proceed below if you would like to use the minimal set of primitive components available here in vr-markup.

Downloads

To get started, simply include these files in your project:

Or for local development you can use the unminified bundles (with source maps for the JS):

Also, be sure to check out these awesome examples:

npm

First install from npm:

npm install @mozvr/vr-markup

And in your Browserify/Webpack modules, simply require the module:

require('@mozvr/vr-markup')

Local installation

git clone https://github.com/MozVR/vr-markup.git
cd vr-markup

Local development

npm install
npm start
open http://localhost:9001/examples/

If you'd like to hack on this project and don't have access to the npm repos, contact @cvan and he'll give you the info you'll need to log in:

npm login

Running tests

npm test

Pulling the lastest remote changes

git checkout dev
git pull --rebase
npm install
npm start
open http://localhost:9001/examples/

Releasing and publishing a new version to npm

Assuming you want to publish a version of dev to the private package for testing:

npm run release

And to push the tags to GitHub:

git push --tags

Updating dist files

npm run dist
git commit -am 'Bump dist'

Publishing to GitHub Pages

To publish to https://mozvr.github.io/vr-markup/:

npm run ghpages

To publish to https://cvan.github.io/vr-markup/:

npm run ghpages cvan

License

This program is free software and is distributed under an MIT License.

About

A web framework for building virtual reality experiences.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.1%
  • CSS 1.5%
  • Other 0.4%