-
Notifications
You must be signed in to change notification settings - Fork 24
/
index.html
220 lines (220 loc) · 9.49 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Trigonoparty!</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, shrink-to-fit=no, user-scalable=no"/>
<link rel="stylesheet" type="text/css" href="styles.css?v=anticache.16" />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div class="root">
<div class="content">
<div class="canvas-wrapper">
<canvas class="canvas" id="canvas" />
</div>
<aside class="drawer">
<div class="row block">
<div class="column">
<button id="togglePlay" class="button">Stop</button>
</div>
</div>
<details class="row">
<summary>general options</summary>
<div class="state-table">
<div class="row state-table-row">
<label class="column state-table-column">
round numbers <input id="roundNumbers" type="checkbox" checked />
</label>
</div>
</div>
</details>
<details open class="row">
<summary>state values</summary>
<div class="state-table">
<div class="row state-table-row">
<div class="column state-table-column">
degree <input id="stateDeg" type="text" disabled />
</div>
<div class="column state-table-column">
radian <input id="stateRad" type="text" disabled />
</div>
<div class="column state-table-column">
quandrant <input id="stateQua" type="text" disabled />
</div>
</div>
<div class="row state-table-row">
<div class="column state-table-column">
sinus <input id="stateSin" type="text" disabled />
</div>
<div class="column state-table-column">
cosinus <input id="stateCos" type="text" disabled />
</div>
<div class="column state-table-column">
tangent <input id="stateTan" type="text" disabled />
</div>
</div>
<div class="row state-table-row">
<div class="column state-table-column">
cotangent <input id="stateCot" type="text" disabled />
</div>
<div class="column state-table-column">
secant <input id="stateSec" type="text" disabled />
</div>
<div class="column state-table-column">
cosecant <input id="stateCsc" type="text" disabled />
</div>
</div>
</div>
</details>
<details class="row">
<summary id="degreeTitle">angle θ (-)</summary>
<div class="row zebra">
<div class="column">
<input id="degreeRange" type="range" min="-1" max="361" step="1" />
</div>
<div class="column">
<input id="degreeInput" type="number" min="-1" max="361" />
</div>
</div>
</details>
<details class="row">
<summary id="radiusTitle">radius scale (-)</summary>
<div class="row zebra">
<div class="column">
<input id="radiusRange" type="range" min="0" max="500" step="5" />
</div>
<div class="column">
<input id="radiusInput" type="number" min="0" />
</div>
</div>
</details>
<details class="row">
<summary id="stepTitle">step by frame (-)</summary>
<div class="row zebra">
<div class="column">
<input id="stepRange" type="range" min="0" max="1" step="0.01" />
</div>
<div class="column">
<input id="stepInput" type="number" min="0" step="0.01" />
</div>
</div>
</details>
<details class="row">
<summary>draw lines</summary>
<div class="state-table">
<div class="row state-table-row">
<label class="column state-table-column hidden-checkbox">
uncheck all <input id="drawNoLines" type="checkbox" />
</label>
</div>
<div class="column separator"></div>
<div class="row state-table-row">
<label class="column state-table-column">
radius <input id="drawLineRadius" type="checkbox" checked />
</label>
<label class="column state-table-column">
x axis <input id="drawLineXAxis" type="checkbox" checked />
</label>
<label class="column state-table-column">
y axis <input id="drawLineYAxis" type="checkbox" checked />
</label>
</div>
<div class="row state-table-row">
<label class="column state-table-column">
sinus <input id="drawLineSin" type="checkbox" checked />
</label>
<label class="column state-table-column">
cosinus <input id="drawLineCos" type="checkbox" checked />
</label>
<label class="column state-table-column">
tangent <input id="drawLineTan" type="checkbox" checked />
</label>
</div>
<div class="row state-table-row">
<label class="column state-table-column">
cotangent <input id="drawLineCot" type="checkbox" checked />
</label>
<label class="column state-table-column">
secant <input id="drawLineSec" type="checkbox" checked />
</label>
<label class="column state-table-column">
cosecant <input id="drawLineCsc" type="checkbox" checked />
</label>
</div>
</div>
</details>
<details class="row">
<summary>draw names</summary>
<div class="state-table">
<div class="row state-table-row">
<label class="column state-table-column hidden-checkbox">
uncheck all <input id="drawNoNames" type="checkbox" />
</label>
</div>
<div class="column separator"></div>
<div class="row state-table-row">
<label class="column state-table-column">
full names <input id="drawFullNames" type="checkbox" checked />
</label>
</div>
<div class="column separator"></div>
<div class="row state-table-row">
<label class="column state-table-column">
fps <input id="drawNameFPS" type="checkbox" checked />
</label>
<label class="column state-table-column">
info <input id="drawNameInfo" type="checkbox" checked />
</label>
<label class="column state-table-column">
credits <input id="drawNameCredits" type="checkbox" checked />
</label>
</div>
<div class="row state-table-row">
<label class="column state-table-column">
radius <input id="drawNameRadius" type="checkbox" checked />
</label>
<label class="column state-table-column">
theta <input id="drawNameTheta" type="checkbox" checked />
</label>
<label class="column state-table-column">
</label>
</div>
<div class="row state-table-row">
<label class="column state-table-column">
sinus <input id="drawNameSin" type="checkbox" checked />
</label>
<label class="column state-table-column">
cosinus <input id="drawNameCos" type="checkbox" checked />
</label>
<label class="column state-table-column">
tangent <input id="drawNameTan" type="checkbox" checked />
</label>
</div>
<div class="row state-table-row">
<label class="column state-table-column">
cotangent <input id="drawNameCot" type="checkbox" checked />
</label>
<label class="column state-table-column">
secant <input id="drawNameSec" type="checkbox" checked />
</label>
<label class="column state-table-column">
cosecant <input id="drawNameCsc" type="checkbox" checked />
</label>
</div>
</div>
</details>
<div class="row separator"></div>
<div class="row block">
<div class="column">
<a class="github-button" href="https://github.com/ramesaliyev/trigonoparty" data-size="large" data-show-count="true" aria-label="Star ramesaliyev/trigonoparty on GitHub">Star</a>
</div>
</div>
</aside>
</div>
</div>
<script src="trigonoparty.js?v=anticache.17"></script>
<script src="ui.js?v=anticache.16"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>