Skip to content

Instantly share code, notes, and snippets.

@i3games i3games/index.html
Last active Feb 24, 2017

What would you like to do?
A-Frame Inspector injects HTML character references into JavaScript
<!DOCTYPE html>
<meta charset="utf-8">
<title>Hello VR World</title>
<script src="aframe-v0.5.0.js"></script>
<!-- a scene with a sphere, a box, a cylinder, a plane, and a sky -->
<a-sphere position="0 1.25 -1" radius="1.25" color="#EF2D5E"></a-sphere>
<a-box position="-1 0.5 1" rotation="0 45 0" width="1" height="1" depth="1" color="#4CC3D9"></a-box>
<a-cylinder position="1 0.75 1" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder>
<a-plane rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>
<a-sky color="#030303"></a-sky>
<a-entity position="0 0 3.8">
<script type="text/javascript">
var i = 0;
for (i = 0; i < 10: i++) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.