Last active
July 6, 2017 17:29
-
-
Save dragGH102/1c1f7dfcc6fceafe7a181fbeac101eeb to your computer and use it in GitHub Desktop.
VR workshop position and color// source https://jsbin.com/tigikaw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<meta name="robots" content="noindex"> | |
<html> | |
<head> | |
<title>VR workshop position and color</title> | |
<script src="https://aframe.io/releases/0.5.0/aframe.js"></script> | |
</head> | |
<body> | |
<a-scene> | |
<a-box color="yellow" position="-1.7 0 -5"></a-box> | |
<a-box color="red" position="0 0 -5"></a-box> | |
<a-box color="black" position="1.7 0 -5"></a-box> | |
<!-- positive z = behind me (visible by turning the head) --> | |
<a-box color="blue" position="0 0 10"></a-box> | |
<!-- "background" --> | |
<a-sky color="lightblue"></a-sky> | |
</a-scene> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment