-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
212 lines (181 loc) · 6.66 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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Canvas test</title>
<link href="style.css" rel="stylesheet" type="text/css">
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<canvas></canvas>
<div id="control">
<p id="control-name"></p>
<label id="gravity" class="switch">
<input id="checkgrav" type="checkbox">
<div><span>Gravity</span></div>
</label>
<label id="friction" class="switch">
<input id="checkfric" type="checkbox">
<div><span>Friction</span></div>
</label>
<label id="static" class="switch">
<input id="checkstatic" type="checkbox">
<div><span>Static</span></div>
</label>
<label id="trajectory" class="switch">
<input id="checktrajectory" type="checkbox">
<div><span>Trajectory</span></div>
</label>
<span class="velocite" id="VX">VX : </span>
<span class="velocite" id="VY">VY : </span>
</div>
<div id="panel">
<div class="item">
<div class="itemConfig">
<div class="subItemConfig">
<img src="images/control/control.png" width="100%">
<div class="textPopupSubItem">
<p>Control property</p>
</div>
</div>
<div class="subItemConfig">
<img src="images/control/measure.png" width="100%">
<div class="textPopupSubItem">
<p>Measure</p>
</div>
</div>
<div class="subItemConfig">
</div>
</div>
<img src="images/control/control.png">
</div>
<div class="item">
<div class="itemConfig">
<div class="subItemConfig">
<img src="images/property.png" width="100%">
<div class="textPopupSubItem">
<p>Ground Gravity</p>
</div>
</div>
<div class="subItemConfig">
<img src="images/property/locked.png" width="100%">
<div class="textPopupSubItem">
<p>Lock objects</p>
</div>
</div>
<div class="subItemConfig">
</div>
</div>
<img src="images/property.png" >
</div>
<div class="item">
<div class="itemConfig">
<div class="subItemConfig">
<img src="images/attraction.png" width="100%">
<div class="textPopupSubItem">
<p>Objects' attraction</p>
</div>
</div>
<div class="subItemConfig">
<img src="images/attraction/orbital.png" width="100%">
<div class="textPopupSubItem">
<p>Circular orbit</p>
</div>
</div>
<div class="subItemConfig">
</div>
</div>
<img src="images/attraction.png" >
</div>
<div class="item">
<img src="images/move.png" >
<div class="textPopup">
<p>Move objects</p>
</div>
</div>
<div class="item">
<img src="images/vecteur.png" >
<div class="textPopup">
<p>Vector movements</p>
</div>
</div>
<div class="item">
<div class="itemConfig">
<div class="subItemConfig">
<img src="images/copy.png" width="100%">
<div class="textPopupSubItem">
<p>Copy 1</p>
</div>
</div>
<div class="subItemConfig">
<img src="images/copy/copySub2.png" width="100%">
<div class="textPopupSubItem">
<p>Copy 5</p>
</div>
</div>
<div class="subItemConfig">
<img src="images/copy/copySub3.png" width="100%">
<div class="textPopupSubItem">
<p>Copy 100</p>
</div>
</div>
</div>
<img src="images/copy.png" >
</div>
<div class="item">
<img src="images/circle.png" >
<div class="textPopup">
<p>Draw circle</p>
</div>
</div>
<div class="item">
<div class="itemConfig">
<div class="subItemConfig">
<img src="images/wall.png" width="100%">
<div class="textPopupSubItem">
<p>Draw walls</p>
</div>
</div>
<div class="subItemConfig">
<img src="images/wall/wall.png" width="100%">
<div class="textPopupSubItem">
<p>Draw curves</p>
</div>
</div>
<div class="subItemConfig">
</div>
</div>
<img src="images/wall.png" >
</div>
<div class="item">
<img src="images/contraints.png" >
<div class="textPopup">
<p>Create constraints</p>
</div>
</div>
<div class="item">
<img src="images/chrono.png" >
<div class="textPopup">
<p>Control Time</p>
</div>
</div>
<div class="item">
<img src="images/trash.png" >
<div class="textPopup">
<p>Delete objects</p>
</div>
</div>
<div class="item"></div>
</div>
<div id="state">
<div class="button" id="saveState">
<img src="images/save.png" width="75%" style="margin:0 5px;">
</div>
<div class="button" id="restoreState">
<img src="images/restore.png" width="75%" style="margin:0 5px;">
</div>
</div>
<script type="module" src="canvas.js"></script>
<script type="module" src="uiScript.js"></script>
</body>
</html>