generated from lorossi/empty-html5-canvas-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·80 lines (77 loc) · 2.25 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="TURING MULTIPLICATION" />
<meta charset="utf-8" />
<title>TURING MULTIPLICATION</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="author" content="Author Name" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="css/vars.css" />
<link rel="stylesheet" href="css/style.css" />
<link
rel="preload"
href="css/fonts/Roboto-Light.ttf"
as="font"
crossorigin
/>
<script src="js/all.min.js"></script>
<script src="js/automaton.js"></script>
<script src="js/sketch.js"></script>
</head>
<body>
<div class="container">
<canvas id="sketch" width="1000" height="1000"> </canvas>
<div class="controls">
<div class="controls-line">
<div class="group">
<input
type="range"
id="speed"
name="speed"
min="0"
max="100"
value="50"
/>
<label for="speed">speed</label>
</div>
<div class="group">
<button type="button" id="pause">pause</button>
</div>
<div class="group">
<button type="button" id="reset">reset</button>
</div>
</div>
<div class="controls-line">
<div class="group">
<input
type="numeric"
id="number1"
name="number1"
title="Binary number"
/>
x
<input
type="numeric"
id="number2"
name="number2"
title="Binary number"
/>
=
<button type="button" id="compute">compute</button>
</div>
</div>
</div>
</div>
<div class="footer">
<a href="https://lorenzoros.si">Lorenzo Rossi</a>
<a href="https://github.com/lorossi/turing-multiplication "
>GitHub repo</a
>
</div>
</body>
</html>