Skip to content

Commit 589e867

Browse files
author
Matthew Willox
committed
Updated Chris demo to work in the gSkinner lab
1 parent 4667e07 commit 589e867

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

public/chris/index.html

+16-15
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta property="og:type" content="website"/>
88
<meta property="og:image" content=""/>
99
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
10-
10+
<script src="https://lab.gskinner.com/content/assets/template.min.js"></script>
1111
<style>
1212
body {
1313
margin: 0px;
@@ -18,23 +18,23 @@
1818
</head>
1919
<body>
2020

21-
<script src="js/third-party/threejs/three.js"></script>
22-
<script src="js/third-party/threejs/vr/ViveController.js"></script>
23-
<script src="js/third-party/threejs/vr/WebVR.js"></script>
21+
<script src="./js/third-party/threejs/three.js"></script>
22+
<script src="./js/third-party/threejs/vr/ViveController.js"></script>
23+
<script src="./js/third-party/threejs/vr/WebVR.js"></script>
2424

25-
<script src="js/third-party/threejs/loaders/OBJLoader.js"></script>
26-
<script src="js/third-party/threejs/effects/VREffect.js"></script>
27-
<script src="js/third-party/threejs/effects/StereoEffect.js"></script>
25+
<script src="./js/third-party/threejs/loaders/OBJLoader.js"></script>
26+
<script src="./js/third-party/threejs/effects/VREffect.js"></script>
27+
<script src="./js/third-party/threejs/effects/StereoEffect.js"></script>
2828

29-
<script src="js/third-party/threejs/controls/VRControls.js"></script>
30-
<script src="js/third-party/threejs/controls/DeviceOrientationControls.js"></script>
31-
<script src="js/third-party/threejs/controls/OrbitControls.js"></script>
29+
<script src="./js/third-party/threejs/controls/VRControls.js"></script>
30+
<script src="./js/third-party/threejs/controls/DeviceOrientationControls.js"></script>
31+
<script src="./js/third-party/threejs/controls/OrbitControls.js"></script>
3232

33-
<script src="js/third-party/TweenMax.min.js"></script>
34-
<script src="js/third-party/perlin.js"></script>
33+
<script src="./js/third-party/TweenMax.min.js"></script>
34+
<script src="./js/third-party/perlin.js"></script>
3535

36-
<script src="js/utils/helpers.js"></script>
37-
<script src="js/utils/AudioReactive.js"></script>
36+
<script src="./js/utils/helpers.js"></script>
37+
<script src="./js/utils/AudioReactive.js"></script>
3838

3939
<script>
4040

@@ -60,7 +60,7 @@
6060
// audio
6161

6262
audio = new AudioReactive({});
63-
audio.playMedia('assets/sound/ritual');
63+
audio.playMedia('./assets/sound/ritual');
6464

6565
// renderer
6666

@@ -87,6 +87,7 @@
8787
// events
8888

8989
addEvents();
90+
LabTemplate.loadComplete();
9091

9192
}
9293

0 commit comments

Comments
 (0)