-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpress.html
More file actions
458 lines (390 loc) · 19.5 KB
/
Copy pathpress.html
File metadata and controls
458 lines (390 loc) · 19.5 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
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
<!doctype html>
<html lang="en">
<head>
<meta name="google-site-verification" content="taam-xWTrCWy4JPF4V1vmT5YXZNakBEOSw_4IEqQEGA" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="./img/logo.png">
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<title>MixPose</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="css/product.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-md navbar-light bg-light">
<a class="navbar-brand mx-4" href="index.html">
<img style="max-width: 35px;" class="navbar-left" src="img/logo.png">
<img style="max-width: 95px;" class="navbar-left" src="img/logotype.png">
<!-- <strong>MixPose</strong> -->
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<!--
<li class="nav-item">
<a class="nav-link mx-4" href="test.html">First</a>
</li>
<li class="nav-item">
<a class="nav-link mx-4" href="test2.html">Second</a>
</li> -->
<li class="nav-item">
<a class="text-muted nav-link mx-3" target="_blank" href="https://twitter.com/mixpose">
<i class="fa fa-lg fa-twitter-square" aria-hidden="true"></i>
<span class="d-sm-none d-md-none d-lg-none d-xl-none">
mixpose
</span>
</a>
</li>
<li class="nav-item">
<a class="text-muted nav-link mx-3" target="_blank" href="https://www.linkedin.com/company/mixpose">
<i class="fa fa-lg fa-linkedin-square" aria-hidden="true"></i>
<span class="d-sm-none d-md-none d-lg-none d-xl-none">
mixpose
</span>
</a>
</li>
<li class="nav-item">
<a class="text-muted nav-link mx-3" target="_blank" href="https://www.facebook.com/MixPoseAI">
<i class="fa fa-lg fa-facebook-square" aria-hidden="true"></i>
<span class="d-sm-none d-md-none d-lg-none d-xl-none">
MixPoseAI
</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link mx-3 active" href="press.html">Press</a>
</li>
<li class="nav-item">
<a class="nav-link mx-3" href="awards.html">Awards</a>
</li>
<li class="nav-item">
<a class="nav-link mx-3" href="http://eepurl.com/gVWRfn" target="_blank">Sign Up</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link mx-4" href="#" data-toggle="modal" data-target="#myModal">Sign Up</a>
</li> -->
</ul>
</div>
</nav>
<div class="position-relative overflow-hidden d-flex bg-custom p-md-5 text-center bg-light">
<div class="col-md-12 p-lg-12 mx-auto my-5 invisible viewpoint-fadeInDown">
<h1 class="display-6 font-weight-normal"><strong>Press</strong></h1>
<!-- <p class="lead font-weight-normal text-green">Streaming platform for yoga instructors, fitness professionals and dance teachers.</p>
<a class="btn btn-outlined btn-big btn-custom" target="_blank" href="http://eepurl.com/gVWRfn">
Sign up
<i class="material-icons v-align md-18">arrow_forward</i>
</a> -->
</div>
</div>
<div class="album py-5 bg-light">
<div class="container">
<div class="row">
<div class="col-md-4 invisible viewpoint-fadeInUp-delay4">
<a href="https://blogs.nvidia.com/blog/2020/03/12/yoga-app-among-10-winners-of-hackster-io-jetson-competition/" target="_blank" class="press-card mb-4 box-shadow">
<div class="card">
<img class="card-img-top" src="img/press-nvidia.jpeg" alt="Nvidia">
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<!-- <div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div> -->
</div>
</div>
</a>
</div>
<div class="col-md-4 invisible viewpoint-fadeInUp-delay4">
<a href="https://blogs.nvidia.com/blog/2020/03/12/yoga-app-among-10-winners-of-hackster-io-jetson-competition/" target="_blank" class="press-card mb-4 box-shadow">
<div class="card">
<img class="card-img-top" src="img/press-nvidia.jpeg" alt="Nvidia">
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<!-- <div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div> -->
</div>
</div>
</a>
</div>
<div class="col-md-4 invisible viewpoint-fadeInUp-delay4">
<a href="https://blogs.nvidia.com/blog/2020/03/12/yoga-app-among-10-winners-of-hackster-io-jetson-competition/" target="_blank" class="press-card mb-4 box-shadow">
<div class="card">
<img class="card-img-top" src="img/press-nvidia.jpeg" alt="Nvidia">
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<!-- <div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div> -->
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<!-- <hr> -->
<footer class="container py-4 mt-4">
<div class="row mx-auto">
<div class="col-6 col-xs-6 col-sm-3 col-md-3 col-lg-3">
<span class="navbar-brand">
<img style="max-width:35px; color: black;" class="navbar-left" src="img/logo.png">
<img style="max-width:95px; color: black;" class="navbar-left" src="img/logotype.png">
<!-- <strong>MixPose</strong> -->
</span>
<span class="d-block text-muted">© 2020</span>
<small>
<span class="d-block mb-3 text-muted">All Rights Reserved</span>
</small>
</div>
<div class="col-6 col-xs-6 col-sm-3 col-md-3 col-lg-3 text-right text-sm-left">
<h5 class="mt-2">About</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted" href="press.html">Press</a></li>
<li><a class="text-muted" href="awards.html">Awards</a></li>
</ul>
</div>
<div class="col-6 col-xs-6 col-sm-3 col-md-3 col-lg-3">
<h5 class="mt-2">Social</h5>
<ul class="list-unstyled text-small">
<li>
<a class="text-muted" target="_blank" href="https://twitter.com/mixpose">
<i class="fa fa-twitter-square" aria-hidden="true"></i>
mixpose
</a>
</li>
<li>
<a class="text-muted" target="_blank" href="https://www.linkedin.com/company/mixpose">
<i class="fa fa-linkedin-square" aria-hidden="true"></i>
mixpose
</a>
</li>
<li>
<a class="text-muted" target="_blank" href="https://www.facebook.com/MixPoseAI">
<i class="fa fa-facebook-square" aria-hidden="true"></i>
MixPoseAI
</a>
</li>
</ul>
</div>
<div class="col-6 col-xs-6 col-sm-3 col-md-3 col-lg-3 text-right text-sm-left">
<p class="mt-2">
<a class="text-green" href="#">Back To Top
<i class="fa fa-arrow-circle-up" aria-hidden="true"></i>
</a>
</p>
<!-- <h5>About</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted" href="press.html">Press</a></li>
<li><a class="text-muted" href="awards.html">Awards</a></li>
</ul> -->
</div>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r69/three.min.js"></script>
<script src="js/animate-viewport.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jQuery-viewport-checker/1.8.8/jquery.viewportchecker.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"
integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"
integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm"
crossorigin="anonymous"></script>
<!-- three.js script -->
<script>
// website accent colors are 50acfd, 02f1ff
// 3js code goes here
var scene3d = document.getElementById("ThreeJsCanvas");
var CANVAS_WIDTH = 500;
var CANVAS_HEIGHT = 400;
// SCENE
var scene_header = new THREE.Scene();
// CAMERA
camera_header = new THREE.PerspectiveCamera(75, CANVAS_WIDTH / CANVAS_HEIGHT, 0.1, 1000);
camera_header.position.set(0, 0, 150);
camera_header.lookAt(scene_header.position);
// RENDERER
// transparent div background color
var renderer_header = new THREE.WebGLRenderer({alpha: true});
renderer_header.setClearColor(0x000000, 0);
renderer_header.setSize(CANVAS_WIDTH, CANVAS_HEIGHT);
// GEOMETRY & MATERIALS
// outlined sphere
var geometry_sphere = new THREE.SphereGeometry(80, 5, 5);
// var geometry_sphere = new THREE.DodecahedronGeometry(80, 2);
var material_phong_outlined = new THREE.MeshPhongMaterial({
color: 0x000000,
wireframeLinewidth: 3,
shininess: 30,
specular: 0x111111,
wireframe: true
});
var sphere_outlined = new THREE.Mesh(geometry_sphere, material_phong_outlined);
scene_header.add(sphere_outlined);
sphere_outlined.castShadow = true;
sphere_outlined.receiveShadow = true;
// outlined sphere ends
// materials
var lambertMaterial = new THREE.MeshLambertMaterial({
opacity: 0.25,
color: 0x50acfd
});
lambertMaterial.transparent = true;
var color = new THREE.Color("#00cb39");
var material_phong_shiny = new THREE.MeshPhongMaterial({
color: color.getHex(),
// opacity: 0.9,
specular: 0xffffff,
shinyness: 100
});
//torus
// var geometry_torus = new THREE.TorusKnotGeometry(35, 4, 100, 10);
// box
var geometry_insideBox = new THREE.BoxGeometry(80, 80, 80);
var torus_mesh = new THREE.Mesh(geometry_insideBox, lambertMaterial);
var torus_mesh_outline = new THREE.Mesh(geometry_insideBox, material_phong_outlined);
scene_header.add(torus_mesh);
scene_header.add(torus_mesh_outline);
//LOCATION ICONS
location_icon_PivotPoint = new THREE.Object3D();
location_icon_PivotPoint.position.set(0, 0, 0);
var location_icon_geometry_logo = new THREE.BoxGeometry(30, 65, 0);
var location_icon_geometry = new THREE.BoxGeometry(20, 32, 0);
// var location_icon_material = new THREE.MeshBasicMaterial( {color: 0x8d8d8d} ); //test material of plain color
THREE.ImageUtils.crossOrigin = '';
// var location_icon_image = THREE.ImageUtils.loadTexture( 'http://oi67.tinypic.com/6fql9h.jpg' );
// var location_icon_image = THREE.ImageUtils.loadTexture( 'http://i.imgur.com/j7dzU42.jpg' );
var location_icon_image_logo = THREE.ImageUtils.loadTexture('https://i.imgur.com/46Wrx50.png');
var location_icon_image = THREE.ImageUtils.loadTexture('https://i.imgur.com/hJ9nGrB.png');
var location_icon_imageMaterial_logo = new THREE.MeshBasicMaterial({
map: location_icon_image_logo,
opacity: 0.75
});
var location_icon_imageMaterial = new THREE.MeshBasicMaterial({
map: location_icon_image,
opacity: 0.75
});
location_icon_imageMaterial_logo.transparent = true;
location_icon_imageMaterial.transparent = true;
//NOTE: tiling of images in textures only functions if image dimensions are powers of two
//for examples: (2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, ...)
location_icon_image_logo.wrapS = location_icon_image_logo.wrapT = THREE.RepeatWrapping;
var location_icon_Mesh_logo = new THREE.Mesh(location_icon_geometry_logo, location_icon_imageMaterial_logo);
location_icon_image.wrapS = location_icon_image.wrapT = THREE.RepeatWrapping;
var location_icon_Mesh = new THREE.Mesh(location_icon_geometry, location_icon_imageMaterial);
var location_icon_Mesh2 = new THREE.Mesh(location_icon_geometry, location_icon_imageMaterial);
var location_icon_Mesh3 = new THREE.Mesh(location_icon_geometry, location_icon_imageMaterial);
scene_header.add(location_icon_Mesh_logo);
scene_header.add(location_icon_Mesh);
scene_header.add(location_icon_Mesh2);
scene_header.add(location_icon_Mesh3);
location_icon_PivotPoint.add(location_icon_Mesh);
location_icon_PivotPoint.add(location_icon_Mesh2);
location_icon_PivotPoint.add(location_icon_Mesh3);
// show other icons
// scene_header.add(location_icon_PivotPoint);
// location_icon_Mesh_logo.position.z = 60;
// location_icon_Mesh_logo.position.x = 60;
// location_icon_Mesh_logo.rotation.y = Math.PI/2;
location_icon_Mesh.position.z = 60;
location_icon_Mesh.position.x = 60;
location_icon_Mesh.rotation.y = Math.PI / 3;
location_icon_Mesh2.position.z = -60;
location_icon_Mesh2.position.x = 60;
location_icon_Mesh2.position.x = -20;
// location_icon_Mesh2.rotation.y = -Math.PI/2;
location_icon_Mesh3.position.z = 60;
location_icon_Mesh3.position.x = -60;
location_icon_Mesh3.rotation.y = -Math.PI / 3;
//location icons end----------------------------
//CIRCULAR FLOOR
//Create a ground for shape to hover over
// var groundGeometry = new THREE.PlaneBufferGeometry(50, 50);
var groundGeometry = new THREE.CircleGeometry(7, 50);
var texture_ground = new THREE.MeshPhongMaterial({
color: 0x50acfd,
opacity: 0.8,
specular: 0xffffff,
shinyness: 20,
side: THREE.DoubleSide
});
var ground = new THREE.Mesh(groundGeometry, texture_ground);
ground.rotation.x = -Math.PI / 2;
ground.position.set(0, -55, 0); // (0, -105, 0) to go below the outlined sphere
ground.receiveShadow = true;
scene_header.add(ground);
// brighter lights
var ambientLight = new THREE.AmbientLight(0x00cb39);
scene_header.add(ambientLight);
var lights_header = [];
lights_header[0] = new THREE.PointLight(0xe90269, 1, 0);
lights_header[1] = new THREE.PointLight(0xe90269, 1, 0);
lights_header[2] = new THREE.PointLight(0x02f1ff, 1, 0);
lights_header[0].position.set(0, 200, 0);
lights_header[1].position.set(100, 200, 100);
lights_header[2].position.set(-100, -200, -100);
scene_header.add(lights_header[0]);
scene_header.add(lights_header[1]);
scene_header.add(lights_header[2]);
// light cast shadows
lights_header[0].castShadow = true;
lights_header[1].castShadow = true;
lights_header[2].castShadow = true;
// FINISH SCENE SETUP
// document.body.appendChild(scene3d.domElement);
ThreeJsCanvas.appendChild(renderer_header.domElement);
// renderer.render(scene, camera);
var steps = 0;
var render = function () {
steps += 0.07;
requestAnimationFrame(render);
sphere_outlined.rotation.y += 0.004;
torus_mesh_outline.rotation.y -= 0.01;
torus_mesh.rotation.y -= 0.01;
torus_mesh_outline.rotation.z -= 0.001;
torus_mesh.rotation.z -= 0.001;
torus_mesh_outline.position.y = 5 + (1.7 * (Math.cos(steps)));
torus_mesh.position.y = 5 + (1.7 * (Math.cos(steps)));
location_icon_PivotPoint.rotation.y += 0.004; //rotates around center
// location_icon_PivotPoint.rotation.x += 0.03;
// location_icon_Mesh.rotation.y += 0.01;
// location_icon_Mesh_logo.rotation.x -= 0.009;
// location_icon_Mesh_logo.rotation.y -= 0.009;
// location_icon_Mesh_logo.rotation.z -= 0.009;
location_icon_Mesh_logo.position.y = (1 * (Math.cos(steps)));
renderer_header.render(scene_header, camera_header);
};
render();
</script>
</body>
</html>