-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
53 lines (37 loc) · 1.4 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Producer-Consumer Model – SRMIST VRLabs</title>
<meta name="description" content="A virtual lab to demonstrate the producer-consumer design pattern using semaphores. Built using HTMLCanvas.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="page-layout">
<div class="side-control">
<div class="container">
<div class="input-group">
<input id="chunks-count" type="number" min="1" class="input">
<label class="label">No. of Chunks</label>
</div>
<div class="input-group">
<input id="queue-cap" type="number" min="1" max="6" class="input">
<label class="label">Queue Capacity</label>
</div>
<button id="options-apply" class="btn">Apply</button>
</div>
</div>
<div class="exp-vis">
<div id="canvas-container">
<canvas id="canvas"></canvas>
</div>
</div>
</div>
<script src="model.js"></script>
<script src="page.js"></script>
</body>
</html>