-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathar.html
More file actions
94 lines (89 loc) · 4.79 KB
/
ar.html
File metadata and controls
94 lines (89 loc) · 4.79 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<title>Skuffle Test</title>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<!-- Favicon and app icons -->
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<base target="_blank"> <!-- This makes every link open in new tab -->
<!-- import needle-engine -->
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@needle-tools/engine/dist/needle-engine.min.js"
></script>
</head>
<body>
<header class="py-5 header-bg text-black">
<div class="container d-flex flex-column align-items-center text-center">
<img src="img/LogoLowRes.png" alt="Skuffle logo" class="header-logo mb-3">
<p class="mb-0">The Chaotic PVP Card Game</p>
</div>
</header>
<nav class="site-nav">
<button class="nav-toggle" id="navToggle" aria-label="Toggle navigation">☰</button>
<ul id="navMenu">
<li><a href="index.html" target="_self">Home</a></li>
<li><a href="tracker.html" target="_self">Health Tracker</a></li>
<li><a class="active" href="ar.html" target="_self">AR Embeds</a></li>
<li><a href ="https://skufflegame.github.io/NeedleTest/">Image Tracking</a></li>
<li><a href ="about.html" target="_self">About Us</a></li>
</ul>
</nav>
<h1 style="text-align: center;">AR Embeds</h1>
<div class="padd">
<iframe
src="https://cloud.needle.tools/view/embed?file=Z1j9bw6Z1J0vIx-ZIYUyM-world"
title="Cowboy | Hosted on Needle Cloud"
style="width: 25%; height: 600px"
frameborder="0"
allow="xr-spatial-tracking; accelerometer; gyroscope; display-capture; geolocation; camera; microphone"
allowfullscreen>
</iframe>
<iframe
src="https://cloud.needle.tools/view/embed?file=Z1j9bw6ZMcFuE-ZMcFuE-world"
title="Fisherman | Hosted on Needle Cloud"
style="width: 25%; height: 600px"
frameborder="0"
allow="xr-spatial-tracking; accelerometer; gyroscope; display-capture; geolocation; camera; microphone"
allowfullscreen>
</iframe>
<h3>The above is an iframe embed</h3>
<br>
<h3>Here's some WIP videos for the AR Image Tracking</h3>
<iframe width="500" height="315" src="https://www.youtube.com/embed/AT6BRezqPMc?si=oWaneFNo1E-Qg4n3" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="500" height="315" src="https://www.youtube.com/embed/lzKPw6SPy5M?si=TWWgjZTHjIphxDGt" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="500" height="315" src="https://www.youtube.com/embed/xSMKE5a9o-U?si=jPT23E1VzVZp75hN" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<needle-engine
src="https://cloud.needle.tools/-/assets/Z1j9bw6Z1J0vIx-latest-converted/file"
camera-controls
background-color="transparent"
environment-image="studio"
></needle-engine>
<h3>The below is a Needle Cloud Embed</h3>
</div>
</body>
<script type="module">
import { onStart } from 'https://cdn.jsdelivr.net/npm/@needle-tools/engine/dist/needle-engine.min.js';
onStart((context) => {
console.log('Hello Needle');
});
// navbar logic
document.addEventListener('DOMContentLoaded', function() {
const toggle = document.getElementById('navToggle');
const menu = document.getElementById('navMenu');
toggle.addEventListener('click', function(e) {
e.preventDefault();
e.stopPropagation();
menu.classList.toggle('open');
});
});
</script>
</html>