-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaster.html
267 lines (227 loc) · 9.4 KB
/
master.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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<!doctype html>
<html lang="en"><!-- manifest="cache-manifest.appcache"> -->
<head>
<meta charset="utf-8">
<title>Reshaping Learning Environments with Immersive Technology: KELVAR 2019</title>
<meta name="description" content="Reshaping Learning Environments with Immersive Technology: KELVAR 2019">
<meta name="author" content="Blair MacIntyre">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/ar-moz.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<style>
.ar-text-box {
position: absolute;
top: 5%;
left: 50%;
color: white;
background: rgba(27,55,55,0.75);;
outline: 1px solid rgba(127,255,255,0.75);
border: 0px;
padding: 5px 10px;
transform: translate(-50%, 0%);
font-size: 0.8em;
}
</style>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
<script src="resources/webxr/examples/libs/three.min.js"></script>
<script src="resources/webxr/examples/libs/loaders/BinaryLoader.js"></script>
<script src="resources/webxr/examples/models/TeapotBufferGeometry.js"></script>
<script src="resources/webxr/examples/libs/three-gltf-loader.js"></script>
<script src="resources/webxr/examples/libs/shaders/ConvolutionShader.js"></script>
<script src="resources/webxr/examples/libs/shaders/CopyShader.js"></script>
<script src="resources/webxr/examples/libs/shaders/FilmShader.js"></script>
<script src="resources/webxr/examples/libs/shaders/FocusShader.js"></script>
<script src="resources/webxr/examples/libs/postprocessing/EffectComposer.js"></script>
<script src="resources/webxr/examples/libs/postprocessing/MaskPass.js"></script>
<script src="resources/webxr/examples/libs/postprocessing/RenderPass.js"></script>
<script src="resources/webxr/examples/libs/postprocessing/BloomPass.js"></script>
<script src="resources/webxr/examples/libs/postprocessing/ShaderPass.js"></script>
<script src="resources/webxr/examples/libs/postprocessing/FilmPass.js"></script>
<script src="resources/webxr/dist/webxr-polyfill.js"></script>
<script src="resources/webxr/examples/common.js"></script>
<script src="lib/js/spin.js"></script>
<!--
<script src="resources/js/aframe-v0.5.0.js"></script>
<script src="resources/js/aframe-look-at-component.js"></script>
-->
<link rel="stylesheet" type="text/css" href="resources/style.css">
<link rel="stylesheet" type="text/css" href="resources/aframe.css">
<link rel="stylesheet" href="resources/css/font-awesome.min.css">
<!-- refs: http://www.imore.com/pokemon-go for the PG pic
-->
</head>
<body style="visibility: visible;">
<div id="target"></div>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides" data-background="transparent">
<section data-markdown="slides/-setup-master.md"
data-separator="\r?\n------\r?\n"
data-separator-vertical="\r?\n---\r?\n"
data-separator-notes="<!-- NOTES -->">
</section>
<!--
Slides!
-->
<!-- .slide: data-background="media/img/aframe.jpg" -->
<section data-markdown="slides/0-intro.md"
data-separator="\r?\n------\r?\n"
data-separator-vertical="\r?\n---\r?\n"
data-separator-notes="<!-- NOTES -->">
</section>
<section data-markdown="slides/6-ar-studio-class.md"
data-separator="\r?\n------\r?\n"
data-separator-vertical="\r?\n---\r?\n"
data-separator-notes="<!-- NOTES -->">
</section>
<section data-markdown="slides/3-me.md"
data-separator="\r?\n------\r?\n"
data-separator-vertical="\r?\n---\r?\n"
data-separator-notes="<!-- NOTES -->">
</section>
<section data-markdown="slides/4-webxr.md"
data-separator="\r?\n------\r?\n"
data-separator-vertical="\r?\n---\r?\n"
data-separator-notes="<!-- NOTES -->">
</section>
<section data-markdown="slides/8-vr-oms.md"
data-separator="\r?\n------\r?\n"
data-separator-vertical="\r?\n---\r?\n"
data-separator-notes="<!-- NOTES -->">
</section>
<section data-markdown="slides/10-closing.md"
data-separator="\r?\n------\r?\n"
data-separator-vertical="\r?\n---\r?\n"
data-separator-notes="<!-- NOTES -->">
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
var spinnerOpts = {
lines: 13, // The number of lines to draw
length: 4, // The length of each line
width: 1, // The line thickness
radius: 2, // The radius of the inner circle
scale: 1, // Scales overall size of the spinner
corners: 1, // Corner roundness (0..1)
color: '#ffffff', // CSS color or array of colors
fadeColor: 'transparent', // CSS color or array of colors
opacity: 0.25, // Opacity of the lines
rotate: 0, // The rotation offset
direction: 1, // 1: clockwise, -1: counterclockwise
speed: 1, // Rounds per second
trail: 60, // Afterglow percentage
fps: 20, // Frames per second when using setTimeout() as a fallback in IE 9
zIndex: 2e9, // The z-index (defaults to 2000000000)
className: 'spinner', // The CSS class to assign to the spinner
top: '98%', // Top position relative to parent
left: '50%', // Left position relative to parent
shadow: 'none', // Box-shadow for the lines
position: 'absolute' // Element positioning
};
var target = document.body;
var spinner = new Spinner(spinnerOpts).spin(target);
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: false,
progress: true,
history: true,
center: true,
overview: false,
width: 1280,
height: 720,
transition: 'slide', // none/fade/slide/convex/concave/zoom
multiplex: {
// Example values. To generate your own, see the socket.io server instructions.
secret: '15417754247786396111', // Obtained from the socket.io server. Gives this (the master) control of the presentation
//secret: null, // Obtained from the socket.io server. Gives this (the master) control of the presentation
id: 'e6929fe6f45c44d2', // Obtained from socket.io server
url: 'reveal-server-with-worldmap.glitch.me' // Location of your socket.io server
},
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/2.1.1/socket.io.js', async: false },
{ src: 'plugin/multiplex-ar/master.js', async: false },
{ src: 'plugin/multiplex-ar/client.js', async: false },
// { src: 'socket.io/socket.io.js', async: true },
// { src: 'plugin/notes-server/client.js', async: true },
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
<script src="resources/app-3d.js"></script>
<style type="text/css">
/* 1. Style header/footer <div> so they are positioned as desired. */
#header-left {
position: absolute;
top: 0%;
left: 0%;
}
#header-right {
position: absolute;
top: 0%;
right: 0%;
text-align: right;
}
#footer-left {
position: absolute;
bottom: 0%;
left: 0%;
}
#footer-right {
position: absolute;
bottom: 0%;
right: 0%;
text-align: right;
}
</style>
<!-- 2. Create hidden header/footer <div> -->
<div id="hidden" style="display:none;">
<div id="header">
<div id="header-left"></div>
<div id="header-right"></div>
<div id="footer-left"><img src="resources/moz-logo-orange-rgb.svg" alt="mozilla logo" width="20%" /></div>
<div id="footer-right"><img src="resources/GTlogo-light.png" alt="ael logo" width="8%" /></div>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script type="text/javascript">
// 3. On Reveal.js ready event, copy header/footer <div> into each `.slide-background` <div>
var header = $('#header').html();
if ( window.location.search.match( /print-pdf/gi ) ) {
Reveal.addEventListener( 'ready', function( event ) {
$('.slide-background').append(header);
});
}
else {
Reveal.addEventListener( 'ready', function( event ) {
var b = document.getElementsByClassName('pause-overlay');
var h = document.getElementById("header");
var p = b[0].parentNode;
p.insertBefore(h,b[0]);
});
}
</script>
</body>
</html>