-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
52 lines (52 loc) · 2.53 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
<html>
<head>
<title>Complex Mapping</title>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="js/complex.min.js"></script>
<script src="js/jscolor.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<center>
<h1>Complex Mapping Visualizer</h1>
<h3>Draw on the z Plane, and watch the mapping on the w Plane!</h3>
<a href="https://github.com/mabotkin/complex-map"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<div id="wrapper">
<div id="zPlaneDiv"><h2>z Plane</h2></div>
<div id="wPlaneDiv"><h2>w Plane</h2></div>
</div>
f(z) = <input type=text id=mapping size=6i value="z"><br>
<button onclick="mapUpdate()">Set Map</button>
<br><br>
<button onclick="clearCanvas()">Clear</button>
<br>
Color: <input class="jscolor" onchange="updateColor(this.jscolor)" value="FF0000" size=4>
<br>
<button id="settingsButton">Settings</button>
<div id="settings" class="settings">
<div class="settings-content">
<b>Range Settings:</b>
<br>
Z Plane:<br>
Max X:<input type="text" id="ZMAXX" value="2" size=4><br>
Min X:<input type="text" id="ZMINX" value="-2" size=4><br>
Max Y:<input type="text" id="ZMAXY" value="2" size=4><br>
Min Y:<input type="text" id="ZMINY" value="-2" size=4><br>
W Plane:<br>
Max X:<input type="text" id="WMAXX" value="2" size=4><br>
Min X:<input type="text" id="WMINX" value="-2" size=4><br>
Max Y:<input type="text" id="WMAXY" value="2" size=4><br>
Min Y:<input type="text" id="WMINY" value="-2" size=4><br>
<button onclick="updateRange()">Update Range</button><br>
<button onclick="resetRange()">Reset Range</button><br>
<b>Branch Cut Settings:</b><br>
Branch Cut Threshhold:<input type="text" id="bct" value="10" size=4><br>
<button onclick="updateBCT()">Update BCT</button><br>
<button onclick="resetBCT()">Reset BCT</button><br>
</div>
</div>
</center>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/box.js"></script>
</body>
</html>