-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (27 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./sketch.js"></script>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
<title>Simulated Annealing</title>
</head>
<body>
<div class="flex-container">
<div id='canvas' class="flex-child"></div>
<div class='flex-child'>
<p>PATH LENGTH: <span id='pathLength'></span></p>
<p>TEMPERATURE: <span id='totalCombos'></span> degrees</p>
<p>POINTS: <span id='complexityOutput'></span></p>
<input type="range" min="2" max="200" value="60" class="slider" id="slider">
<input type="button" value="SET" onclick="setComplexity()">
<br><br>
<input type="button" value="GO" onclick="setRun(true)">
<input type="button" value="RESET" onclick="reset()">
</div>
</div>
</body>
</html>