generated from mathias-wilke/javascript-canvas-fun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (31 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Canavas Fun</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="css/canvas-fun.css">
</head>
<body>
<canvas id="screen" width="800px" height="450px"></canvas>
<!-- let us add a single slider -->
<div class="slidecontainer">
<p>SETTINGS</p>
<p>Recursion Depth</p>
<input type="range" min="1" max="6" value="3" class="slider" id="recursion">
<p>Width</p>
<input type="range" min="1" max="360" value="100" class="slider" id="width">
<p>Color</p>
<label class="switch">
<input type="checkbox" id="colors">
<span class="slide-switch round"></span>
</label>
<p>Fill</p>
<label class="switch">
<input type="checkbox" id="fill">
<span class="slide-switch round"></span>
</label>
</div>
<script src="js/rainbow.js"></script>
<script src="js/canvas-fun.js"></script>
</body>
</html>