-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMark.html
More file actions
94 lines (79 loc) · 4.13 KB
/
Copy pathMark.html
File metadata and controls
94 lines (79 loc) · 4.13 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
<!doctype html>
<html>
<head>
<!--Page Info-->
<title>VC: Plane Polar</title>
<!--css link-->
<link rel="stylesheet" href="https://manglekuo.com/i-v/styles.css?v=2">
<!--Required JS resources--> <!--NB: better to have resources before the main body but still works even if they are not-->
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="http://www.numericjs.com/lib/numeric-1.2.6.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/3.15.0/math.min.js"></script>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_SVG"></script>
</head>
<body>
<div class="container">
<div class="row">
<!-- Graph -->
<div class="six columns">
<h1>Plane Polar:</h1>
<div id='graph' style="width:450px; height:450px;"></div>
</div>
<!--Bottons/Sliders-->
<div class="six columns">
<!--Main Options/Tabs-->
<ul class="tab-nav">
<li><a class="button active" href="#basis">Basis Vectors</a></li><!--Default: set using 'active'-->
<li><a class="button" href="#area">Area Element</a></li>
</ul>
<!--Main body contents-->
<div class="tab-content">
<!--Shared Area-->
<!--BEGIN Slider-->
<!--These Sliders are shared among all tabs-->
<h5 style="border-left: solid 5px rgb(219,209,0); padding-left: 8px;">x-coordinate:</h5><!--Just Text-->
<!--Slider Display--> <!--Linked with the slider below-->
<!--Linked with a slider and shows the live values of its corresponding slider-->
<label class="sliderTitle">x: <!--rho-->
<span id="xControllerDisplay" data-unit="">0</span> <!--default: 0-->
</label>
<!--Slider-->
<!--NB: Be careful with classes and types-->
<label class="slider">
<input id="xController" class="inputs" type="range" value="0" min="-4" max="4" step="0.01"/>
<span class="sliderMin">-4</span><span class="sliderMax">4</span></label>
<!--END Slider-->
<!--BEGIN Slider-->
<h5 style="border-left: solid 5px rgb(182,109,255); padding-left: 8px;">y-coordinate:</h5>
<label class="sliderTitle">y: <!--2 displays for one slider-->
<span id="yControllerDisplayA1" data-unit=" ">0 </span>
</label>
<label class="slider">
<input id="yController" class="inputs" type="range" value="0" min="-4" max="4" step="0.01"/>
<span class="sliderMin">-4</span><span class="sliderMax">4</span>
</label>
<!--END Slider-->
<!--Unique Areas-->
<!--BEGIN Basis Vector Area-->
<div class="tab-pane active" id="basis"></div> <!--NB: Also need 'active' here-->
<!--END Basis-->
<!--BEGIN Area Element Area-->
<div class="tab-pane" id="area">
<!--Checkbox-->
<label class="checkbox">
<input type="checkbox" id="blackText" value="on"/><span for="checkbox"></span>
</label>
<label class="checkboxTitle">Show Black Label</label>
</div>
<!--END Area-->
</div>
</div>
</div>
</div>
<!--THE BRAINS-->
<script src=script/objectsMark.js></script>
<script src=script/Mark.js></script>
</body>
</html>