-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (58 loc) · 1.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Assignment 3 - Matrix_Multiplication</title>
<style>
h1{
text-align: center;
}
h2{
text-align: center;
}
#matrices{
text-align: center;
}
#sliders{
position: absolute;
top: 110px;
left: 100px;
}
#buttons{
position: absolute;
top: 260px;
left: 100px;
}
</style>
</head>
<body>
<h1>Assignment 3 - Matrix_Multiplication</h1>
<h2>Orhun Vural</h2>
<div id="matrices">
<svg id="firstmatrix">
<path id="firstmatrix_path"></path>
<path id="firstmatrix_control"></path>
</svg>
<svg id="secondmatrix">
<path id="secondmatrix_path"></path>
<path id="secondmatrix_control"></path>
</svg>
<svg id="thirdmatrix">
<path id="thirdmatrix_path"></path>
<path id="thirdmatrix_control"></path>>
</svg>
</div>
<div id="sliders">
<p>n: <input min=2 max=100 value=0 type="range" id="slider"></p>
<p>m: <input min=2 max=100 value=0 type="range" id="slider"></p>
<p>p: <input min=2 max=100 value=0 type="range" id="slider"></p>
</div>
<div id="buttons">
<button onclick="play()" id="play">Play</button>
<button onclick="stop()" id="stop">Stop</button>
<button onclick="reset()" id="reset">Reset</button>
</div>
<script src="https://d3js.org/d3.v5.js"></script>
<script src="main.js"></script>
</body>
</html>