-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
72 lines (72 loc) · 3.63 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/andreasplesch/aframe-meshline-component@master/dist/aframe-meshline-component.min.js"></script>
<script src="FileSaver.min.js"></script>
<script src="position-reader.js"></script>
<link rel="stylesheet" type='text/css' href = "stylesheet.css">
<title>Konigsberg-2</title>
</head>
<body>
<a-scene z-index = '-1' embedded >
<a-sky color="#87CEFA"></a-sky>
<a-plane rotation="-90 0 0" visible="false" width="255" height="255" color="#7BC8A4"></a-plane>
<a-entity id="axes" visible="true">
<a-box id="green" color="green" position="0 0 0" rotation="90 0 0" scale=".1 .1 255"></a-box>
<a-box color="red" position="0 0 0" rotation="0 90 0" scale=".1 .1 255"></a-box>
<a-box color="blue" position="0 0 0" rotation="0 0 90" scale=".1 .1 255"></a-box>
</a-entity>
<a-entity id = 'camParent' rotation = "0 0 0">
<a-camera wasd-controls="easing: 15; fly: true" position = "0 1 2">
<a-cursor></a-cursor>
</a-camera>
</a-entity>
<a-entity id='graph'></a-entity>
</a-scene>
<div id="menu" >
<div id = 'tab' >
<table id="toggleMenu" >
<tr>
<td class = 'brdr' id = 'nA'></td>
<td id='edgedeco'><font size='5px'>→</font></td>
<td class = 'brdr' id = 'nB'></td>
<td id='space'></td>
<td class = 'brdr' id = 'add'>Draw</td>
<td id = 'space'></td>
<td class = 'brdr' id='biDir'>Undirected Edges</td>
<td class = 'brdr' id='xyz'>X | Y | Z</td>
<td id='space' colspan="1"></td>
<td class = 'brdr' id = 'tdctrl' rowspan='2' height = '100%'>
<a href = 'https://github.com/Zysberg/K-2' target="_blank"><div id='dummyButton'><p>Controls</p></div></a>
</td>
<td id='space' colspan="1"></td>
<td class = 'brdr'><button type="button" onclick="genTextFile()">Export Current</button></td>
</tr>
<tr>
<td id='space' colspan="4"></td>
<td class = 'brdr' id = 'del'>Delete</td>
<td id='space' colspan="1"></td>
<td class = 'brdr' id='edgeAni'>Edge Animations</td>
<td class = 'brdr' id='grnd'>Ground</td>
<td id='space' colspan="1"></td>
<td id='space' colspan="1"></td>
<td class = 'brdr' class = 'no-break-out' id='import'>
<button type="button" onclick="showUploadButton()">Import New</button>
</td>
<td>
<input style="visibility:hidden" type="file" id="openFile" onchange="impTextFile()" />
</td>
</tr>
</table>
</div>
</div>
</body>
<script src = "vars.js"></script>
<script src = "UI.js"></script>
<script src = "nodeManager.js"></script>
<script src = "edgeManager.js"></script>
<script src = "controls.js"></script>
<script src = "fileImpExp.js"></script>
</html>