-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
83 lines (70 loc) · 3.08 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#000000" />
<meta name="twitter:card" content="summary_large_image"/>
<meta property="og:type" content="website"/>
<title>Zometool Tetrahedra Challenge</title>
<meta property="og:site_name" content="Zometool Tetrahedra Challenge"/>
<meta property="og:title" content="Zometool Tetrahedra Challenge"/>
<meta property="twitter:title" content="Zometool Tetrahedra Challenge"/>
<meta name="description" content="Solutions to the tetrahedral challenge from the Zometool manual"/>
<meta property="og:description" content="Solutions to the tetrahedral challenge from the Zometool manual"/>
<meta property="twitter:description" content="Solutions to the tetrahedral challenge from the Zometool manual"/>
<meta name="keywords" content="geometry,zome,vzome,tetrahedra,solution"/>
<meta property="og:image" content="https://vzome.github.io/zome-tetras/card-image.png"/>
<meta name="twitter:image" content="https://vzome.github.io/zome-tetras/card-image.png"/>
<meta property="og:url" content="https://vzome.github.io/zome-tetras/"/>
<link rel="canonical" href="https://vzome.github.io/zome-tetras/">
<!-- Enable the vzome-viewer custom element -->
<script type="module" src="https://www.vzome.com/modules/vzome-viewer.js"></script>
<!-- populate the table and hook the click events -->
<script type="module" src="./tetra-listing.js" ></script>
<link href="style.css" rel="stylesheet">
</head>
<body>
<div class="main-grid">
<div class="intro">
<h1>
<a href="https://zometool.com" target="_blank" rel="noopener">Zometool</a> Tetrahedra Challenge Solution
</h1>
<p>
Select a row in the table to see the tetrahedron. Rows marked with an asterisk (*)
represent chiral tetrahedra; they have both left-handed and right-handed forms.
</p>
<p>
Use your mouse to manipulate the 3D view: left button to rotate, right button to pan, and scroll gesture to zoom.
</p>
<p>
<a href="https://github.com/vZome/zome-tetras/" target="_blank" rel="noopener">Page Source</a>
</p>
</div>
<div class="table">
<table id="partsTable">
<thead>
<tr>
<th class="ident">Id</th>
<th class="balls">Balls</th>
<th class="blu">B0</th>
<th class="blu">B1</th>
<th class="blu">B2</th>
<th class="yel">Y0</th>
<th class="yel">Y1</th>
<th class="yel">Y2</th>
<th class="red">R0</th>
<th class="red">R1</th>
<th class="red">R2</th>
</tr>
</thead>
</table>
</div>
<div class="viewer">
<h1 id="index"></h1>
<vzome-viewer id="viewer" load-camera="always" />
</div>
</div>
</body>
</html>