Skip to content

Commit

Permalink
updates readme, adds preview gif.
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyyee committed Jan 17, 2017
1 parent efdc4dc commit 05b103f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## UI widgets for [A-Frame](https://aframe.io).

Compatible with HTC VIVE and Oculus touch.
![A-Frame UI Widgets](https://raw.githubusercontent.com/caseyyee/aframe-ui-widgets/master/img/preview.gif)

Works with HTC VIVE and Oculus touch in a WebVR enabled browser.


### Installation
Expand All @@ -13,6 +15,15 @@ Include component script into your project along with A-Frame.
<script src="https://aframe.io/releases/0.4.0/aframe.min.js"></script>
<script src="https://rawgit.com/caseyyee/aframe-ui-widgets/master/dist/ui-widgets.min.js"></script>
</head>

<a-scene>
<!-- Adds hand controls -->
<a-entity hand-controls="left"></a-entity>
<a-entity hand-controls="right"></a-entity>

<!-- Adds UI budget widget -->
<a-entity ui-button></a-entity>
</a-scene>
````


Expand Down
3 changes: 0 additions & 3 deletions examples/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<a-scene>
<a-sky color="#333333"></a-sky>

<a-camera>
<a-cursor></a-cursor>
</a-camera>
<!-- Hands -->
<a-entity hand-controls="left"></a-entity>
<a-entity hand-controls="right"></a-entity>
Expand Down
Binary file added img/preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 05b103f

Please sign in to comment.