Created
July 16, 2018 12:33
AR Basic Plus
This file contains 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
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script> | |
<body style="margin : 0px; overflow: hidden;"> | |
<a-scene embedded arjs> | |
<!-- create your content here. just a box for now --> | |
<a-text value="University of" color="blue" position="0 0.5 -0.5" align="center" height="2"><a-animation attribute="rotation" dur="5000" to="360 0 0" direction="alternate" repeat="indefinite"></a-animation> | |
</a-text> | |
<a-text value="Northampton" color="blue" position="0 0.325 0" height="3" align="center"><a-animation attribute="rotation" dur="5000" to="360 0 0" direction="alternate" repeat="indefinite"></a-animation> | |
</a-text> | |
<!-- define a camera which will move according to the marker position --> | |
<a-marker-camera preset="hiro"></a-marker-camera> | |
</a-scene> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment