Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (42 loc) · 2.04 KB
/
Copy pathindex.html
File metadata and controls
63 lines (42 loc) · 2.04 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
<!-- Christmas Part 3XN/GXN coded by Aymeric Brouez -->
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3XN/GXN_Christmas_Party_Invitation</title>
<link rel="stylesheet" href="3XN_GXN_ChristmasAR.css">
<link href="https://fonts.cdnfonts.com/css/bank-gothic" rel="stylesheet">
</head>
<body>
<!-- 3D desktop --->
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
<script nomodule src="https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js"></script>
<div class="desktop">
<model-viewer camera-controls touch-action="pan-y" auto rotate src="uploads/ChristmasPartyInvitation.gltf" ios-src="uploads/ChristmasPartyInvitation.usdz" ar ar-scale="fixed" alt="3XN_GXN_ChristmasAR" skybox-image="uploads/space.jpg" shadow-intensity="0" style="position: absolute; top: 0px; left: 0px; width: 100vw; height: 100vh; --progress-bar-height: 15px; border: none;" xr-environment>
<!--<button slot="ar-button" style="background-color: white; border-radius: 4px; border: none; position: absolute; top: 16px; right: 16px;"></button>-->
</model-viewer>
</div>
<!-- 3D desktop END -->
<!-- AR quicklook for ios -->
<a rel="ar" href="uploads/ChristmasPartyInvitation.usdz" class="ARquickview">
<img src="uploads/loading.png" style="position: absolute; top:50%; left: 50%; transform: translate(-50%, -50%); width: 95vw;">
<div class="loading_sentence">
<h3>click on on the screen or logo to show this year theme in Augmented Reality!</h3>
</div>
</a>
<!-- AR quickolook for ios END -->
<div class="title">
<h1>CHRISTMAS PARTY</h1>
<h2>16.12.2022 - 18:00<br>
Space theme - dress to impress</h2>
</div>
<div class="info">
<p>picture generated by the AI rendering software DALL•E 2</p>
</div>
<img src="uploads/QR.png" class="QR">
<img src="uploads/logo.png" class="logo">
<div class="Image">
<img src="uploads/BackgroundImage.gif" class="BackgroundImage">
</div>
</body>
</html>