-
Notifications
You must be signed in to change notification settings - Fork 0
/
outro.html
94 lines (75 loc) · 3.44 KB
/
outro.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>It's just me myself and I</title>
<link rel="icon" type="image/png" href="/StoreOfTheFutureDemo/asset/favicon.png"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.sound.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="confetti.js"></script>
<link rel="stylesheet" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="timeline.css">
<script src="timeline.js"></script>
</head>
<body>
<div id="timeline" data-currentTime="8"></div>
<script src="https://threejs.org/build/three.js"></script>
<script>
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera( 60, window.innerWidth / window.innerHeight, 0.1, 1000 );
const renderer = new THREE.WebGLRenderer({ antialias: true, autoSize: true } );
renderer.setSize( window.innerWidth, window.innerHeight );
renderer.setClearColor( 0xffffff, 1);
document.body.appendChild( renderer.domElement );
const geometry = new THREE.BoxGeometry();
const material = new THREE.MeshBasicMaterial( { color: 0x000000 } );
const cube = new THREE.Mesh( geometry, material );
// wireframe
var geo = new THREE.EdgesGeometry( cube.geometry ); // or WireframeGeometry
var mat = new THREE.LineBasicMaterial( { color: 0xffffff } );
var wireframe = new THREE.LineSegments( geo, mat );
cube.add( wireframe );
scene.add( cube );
camera.position.z = 5;
const animate = function () {
requestAnimationFrame( animate );
cube.rotation.y += 0.01;
renderer.render( scene, camera );
};
animate();
</script>
<div style="position: absolute; bottom: 60vh; left: 50vw; transform: translate(-50%, 0%);">
<h1 class="text-center">Congratulations!</h1>
</div>
<div style="position: absolute; bottom: 30vh; left: 50vw; transform: translate(-50%, 0%);">
<h2 class="text-center">Welcome to the cube</h2>
</div>
<audio id="audioPlayer" class="noselect showMe" controls>
<source class="center" src="asset/voiceOver/AI_voice_7.mp3" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
<a href="VideoPlayer.html">
<button type="button" class="storeButton secondary storeButtonLeft" >
Let the party start!
</button>
</a>
<a href="https://www.notion.so/itd2021/Group-16-28b677e37fc54ec2a995aa548082ca1d" target="_blank">
<button type="button" class="storeButton storeButtonRight" >
Read more
</button>
</a>
<div id="sideTextContainer">
<p>
Thank you for visiting the store of the future. We would like to congratulate you for joining The Cube. The Cube community strives for a circular clothing economy. Why throw away perfectly good clothes?
<p>
</p>
Want to stay a member of The Cube? Donate your clothes now in a Cube in your town!
</p>
</div>
</body>
</html>