Skip to content

Instantly share code, notes, and snippets.

@jamct
Created July 18, 2017 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamct/69a76aa6104464f82c6ffd6e84cb5686 to your computer and use it in GitHub Desktop.
Save jamct/69a76aa6104464f82c6ffd6e84cb5686 to your computer and use it in GitHub Desktop.
A-Frame Beispiel 1
<!DOCTYPE html>
<html>
<head>
<title>A-Frame-Demo 1</title>
<meta name="description" content="Box, Zylinder, Text und Himmel auf einer Platte.">
<meta charset="utf-8">
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#00538F"></a-box>
<a-sphere position="0 1.25 -5" radius="1.25" color="#008b45"></a-sphere>
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#a52a2a"></a-cylinder>
<a-text value="Hallo VR-Welt!" color="red" position="0.1 0.2 -2.1"></a-text>
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#666"></a-plane>
<a-sky color="#f0f8ff"></a-sky>
</a-scene>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment