This repository has been archived by the owner on Apr 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (33 loc) · 1.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!--
A Business Card AR solution using the AR.js Web AR Framework.
Created by Mario Adisurya.
Email: [email protected]
-->
<head>
<!-- Frameworks/Libraries -->
<!-- A-Frame -->
<script src="https://aframe.io/releases/0.6.0/aframe.min.js" crossorigin></script>
<!-- AR.js -->
<!-- <script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script> -->
<!-- New commit 307264d using AR.js v2.1.0 currently very buggy.
Produces Overconstrained Webcam error on Google Chrome
Also produces very weird orientation/rotation issues for a-frame.
Use previous version - AR.js v2.0.8 until fixed. -->
<script src="https://raw.githack.com/jeromeetienne/AR.js/2.0.8/aframe/build/aframe-ar.js"></script>
<!-- Load React. -->
<!-- Note: when deploying, replace "development.js" with "production.min.js". -->
<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
<!-- Babel - for JSX preprocessing -->
<!-- Need to remove the below script tag and install Babel into production server when deploying! -->
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
</head>
<body style='margin: 0px; overflow: hidden;'>
<div id="app"></div>
<!-- Scripts -->
<script type="text/babel" src="scripts/utility.js"></script>
<script type="text/babel" src="scripts/text.js"></script>
<script type="text/babel" src="scripts/containers.js"></script>
<script type="text/babel" src="scripts/main.js"></script>
<script type="text/babel" src="scripts/events.js"></script>
</body>