-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (66 loc) · 2.51 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>LaserLights</title>
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous">
<link rel="shortcut icon" type="image/png" href="images/favicon.png">
<script src="./bundle.js" type="text/javascript"></script>
</head>
<body>
<div class="main-content-wrapper">
<div id="controls">
<div id="item-control-panel">
<ul id="panel-list">
<li>
<div id="item-selector">
<img draggable="false" class="active" src="./images/laser.svg" alt="">
<img draggable="false" src="./images/mirror.svg" alt="">
</div>
</li>
<li>
<div id="color-picker">
<div id="red" class="color-choice selected-color"></div>
<div id="yellow" class="color-choice"></div>
<div id="lawngreen" class="color-choice"></div>
<div id="blue" class="color-choice"></div>
</div>
</li>
<li>
<div id="size-picker">
<input type="range" min="20" max="150" value="50">
</div>
</li>
</ul>
</div>
<div id="control-icons">
<i id="add-entity" class="fas fa-plus"></i>
<i id="remove-entity" class="fas fa-trash-alt"></i>
</div>
<div id="staging-area"></div>
</div>
<div id="info-section">
<i id="light-toggle" class="fas fa-lightbulb"></i>
<i class="far fa-question-circle open-modal"></i>
</div>
<canvas id="canvas"></canvas>
</div>
<div class="modal show-modal">
<div class="modal-content">
<span class="close-button">×</span>
<h1>LaserLights</h1>
<br />
<h2>Instructions:</h2>
<ul>
<li>Drag objects on the screen by clicking and holding</li>
<li>Rotate objects using A and D</li>
<li><i class="fas fa-plus"></i> Add or <i class="fas fa-trash-alt"></i> remove objects using the control panel</li>
<li>Select different laser colors or mirror sizes in the control panel before adding an object</li>
<li>Turn out the <i class="fas fa-lightbulb"></i> lights!</li>
</ul>
</div>
</div>
</body>
</html>