-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (44 loc) · 2.01 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
<!DOCTYPE html>
<html>
<head>
<title>Scratchpad!</title>
<link rel="stylesheet" href="styles.css">
<script src="touch.js" type="module"></script>
</head>
<body>
<div id="screencover"></div>
<canvas id="canvas"></canvas>
<input class="ui" id="penSizeSlider" type="range" value="4" min="1" max="200" step="2">
<form class="ui" id="penStyles">
<fieldset>
<div>
<img class="block" id="invert" src="images/yin-yang.svg" width="75px" height="50px">
<br>
<div class="block">
<input type="radio" id="flatSelect" name="penType" value="flat" />
<label for="flatSelect">Flat</label>
</div>
<div class="block">
<input type="radio" id="dotSelect" name="penType" value="dot" checked />
<label for="dotSelect">Dots</label>
</div>
<div class="block">
<input type="radio" id="fanSelect" name="penType" value="fan" />
<label for="fanSelect">Fan</label>
</div>
<div class="block">
<input type="radio" id="circleSelect" name="penType" value="circle" />
<label for="circleSelect">Circles</label>
</div>
<br>
<div class="block" id="clearButton">
<button id="clear">Clear</button>
</div>
<div class="block" id="saveButton">
<a id="download" download="output.png" href="">Save</a>
</div>
</div>
</fieldset>
</form>
</body>
</html>