-
Notifications
You must be signed in to change notification settings - Fork 26
/
SymmetryObject.html
69 lines (61 loc) · 2.56 KB
/
SymmetryObject.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
<html>
<head>
<title>Symmetry Object Visualizer</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="GE3-GITVersion" content="3.6.1">
<link rel="icon" type="image/png" href="./images/favicon.png"></link>
<link rel="stylesheet" href="./style/fonts.css" type="text/css"></link>
<link rel="stylesheet" href="./style/sliders.css" type="text/css"></link>
<link rel="stylesheet" href="./visualizerFramework/visualizer.css" type="text/css"></link>
<link rel="stylesheet" href="./style/menu.css" type="text/css"></link>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">
<style>
#control {
padding: 0.2em;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="./refreshVersion.js"></script>
<script type="module">
import {check} from './js/Migration.js'
import {load} from './SymmetryObject.js'
window.addEventListener('load', () => check().then(load))
</script>
</head>
<body>
<div id="bodyDouble">
<div id="header">
<div id="heading"></div>
</div>
<div id="display">
<div id="graphic"></div>
<div id="controls">
<div id="control">
<div style="margin: 1em 0 0.5em 0">View this symmetry object:</div>
<div id="diagram-select" class="faux-select" style="margin-bottom: 1em"
onclick="$(this).find('.faux-select-options').toggle(); event.stopPropagation()">
<div class="faux-select-arrow"></div>
<div id="diagram-choice" class="faux-select-value"></div>
<ol id="diagram-choices" class="faux-select-options hidden display-none-on-clean"></ol>
</div>
<template id="diagram-choice-template">
<span data-symmetry-object-index="${index}">${symmetryObject.name}</span>
</template>
<div>Zoom level:
<input id="zoom-level" type="range" min="-10" max="10" value="0">
</div>
<div>Line thickness:
<input id="line-thickness" type="range" min="1" max="20" value="10">
</div>
<div>Node radius:
<input id="node-radius" type="range" min="-10" max="10" value="0">
</div>
<div><input id="use-fog" type="checkbox">Use this much fog:
<input id="fog-level" type="range" min="1" max="10" value="5">
</div>
</div>
</div>
</div>
</div>
</body>
</html>