-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkernel_math_intro.html
More file actions
77 lines (54 loc) · 2.3 KB
/
kernel_math_intro.html
File metadata and controls
77 lines (54 loc) · 2.3 KB
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>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kernel Math Intro</title>
<link rel="stylesheet" href="static/css/styles.css">
</head>
<body data-page-id="kernel_math_introduction">
<img class="background-layer" src="static/assets/2striped_background.png" alt="Background Image" />
<div style="display: flex; gap: 1vh; justify-content: center; margin-top: 3vh; margin-bottom: 0vh;">
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonCurrent"></button>
<button class="progressButtonFuture"></button>
<button class="progressButtonFuture"></button>
<button class="progressButtonFuture"></button>
</div>
<h2>AI-See --- Kernel Math Introduction</h2>
<button class="topRightButton" onclick="masterLogout()"></button>
<div class="container" style="height: 65%;">
<div class="left50">
<p></p>
</div>
<div class="right50">
<canvas id="myCanvas"></canvas>
</div>
</div>
<div class="buttonRow">
<button class="prevStageButton" onclick="prevStage()">Previous Step</button>
<button class="nextStageButton" onclick="nextStage()">Next Step</button>
</div>
<button class="nextButton" id="nextButton" onclick="next()" style="visibility: hidden;">Next Level</button>
<script src="static/js/kernel_math_intro_visualization.js"></script>
<script src="static/js/redirect.js"></script>
<script src="static/js/data_collection.js"></script>
<script>
window.logout = function() {
// Save data to computer
saveUserDataToComputer();
// Delay redirect slightly to let link open first
setTimeout(() => {
window.location.href = "index.html";
}, 500); // delay in milliseconds
}
window.saveData = function() {
// save data to computer
saveUserDataToComputer();
logout();
}
</script>
</body>