-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrawing.html
More file actions
31 lines (27 loc) · 1004 Bytes
/
drawing.html
File metadata and controls
31 lines (27 loc) · 1004 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
30
31
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.9.0/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.9.0/addons/p5.sound.min.js"></script>
<link rel="stylesheet" type="text/css" href="style2.css">
<meta charset="utf-8" />
</head>
<h1>The Drawing Machine</h1>
<hr>
<body>
<main>
<div class="canvas"id="sketch-holder"></div>
<div class="menu-button"id ="button-holder"> </div>
<div id="first"></div>
<div id="second"></div>
<div id="third"></div>
<div id="fourth"><h2>Instruction</h2>
<p>The drawing machine is simple to use. The two buttons helps you to change the stroke color and to clear the canvas. You can save the canvas by pressing "UP_ARROW key" to save your beautiful sketch.</p>
</div>
</main>
<script src="sketch2.js"></script>
<footer>
<small>All rights reserved</small>
</footer>
</body>
</html>