-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdraw.html
More file actions
29 lines (25 loc) · 809 Bytes
/
draw.html
File metadata and controls
29 lines (25 loc) · 809 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, intial-scale=1.0" />
<title>Draw-A-Galaxy</title>
<link rel="icon" href="/resources/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="styles_draw.css" />
</head>
<body>
<div class="drawing-container">
<canvas id="drawCanvas"></canvas>
<div class="controls">
<label>
Brush Size:
<input type="range" id="brushSize" min="1" max="50" value="3" />
</label>
<button id="eraseToggle">Erase: Off</button>
<button id="clearBtn">Clear Canvas</button>
<button id="genbtn">Generate Galaxy</button>
</div>
</div>
<script src="scripts/draw.js"></script>
</body>
</html>