-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
48 lines (43 loc) · 1.81 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Shapes and Math</title>
<link href="css/StyleSheet.css" rel="stylesheet">
</head>
<body>
<header>
<h1>Shapes and Math</h1>
</header>
<main>
<section class="section-inputs">
<div class="slidercontainer">
<input type="range" min="1" max="100" value="50" class="slider" id="myRange">
<p>Vertices: <span id="sliderValue"></span></p>
</div>
<div id="buttons">
<button type="button" id="button1" class="button greenButton">Draw Path</button>
<button type="button" id="button2" class="button blueButton">Draw connections</button>
<button type="button" id="button3" class="button yellowButton">Random Shapes</button>
<button type="button" id="button4" class="button pinkButton">Draw Stick Dolls</button>
<button type="button" id="button5" class="button blackButton">Boxes</button>
<button type="button" id="button6" class="button purpleButton">Lorenz Attractor</button>
<button type="button" id="button7" class="button magentaButton">Torus 3D</button>
<div class="buttons__clear-and-stop">
<button type="button" id="button8" class="button grayButton clearButton">Clear</button>
<button type="button" id="button9" class="button redButton stopButton">Stop</button>
</div>
</div>
</section>
<section class="section-canvas">
<div id="divCanvas"></div>
</section>
</main>
<script type="module" src="js/app.js"></script>
<script type="text/javascript" src="js/createcanvas.js"> </script>
<script type="text/javascript">
loadCanvas("divCanvas");
</script>
</body>
</html>